21 references to CalendarItem
PresentationFramework (21)
src\Framework\System\Windows\Controls\Calendar.cs (6)
22
[TemplatePart(Name = Calendar.ElementMonth, Type = typeof(
CalendarItem
))]
43
private
CalendarItem
_monthControl;
391
CalendarItem
monthControl = c.MonthControl;
717
internal
CalendarItem
MonthControl
759
_monthControl = GetTemplateChild(ElementMonth) as
CalendarItem
;
1070
CalendarItem
monthControl = this.MonthControl;
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (15)
18
[TemplatePart(Name =
CalendarItem
.ElementRoot, Type = typeof(FrameworkElement))]
19
[TemplatePart(Name =
CalendarItem
.ElementHeaderButton, Type = typeof(Button))]
20
[TemplatePart(Name =
CalendarItem
.ElementPreviousButton, Type = typeof(Button))]
21
[TemplatePart(Name =
CalendarItem
.ElementNextButton, Type = typeof(Button))]
22
[TemplatePart(Name =
CalendarItem
.ElementDayTitleTemplate, Type = typeof(DataTemplate))]
23
[TemplatePart(Name =
CalendarItem
.ElementMonthView, Type = typeof(Grid))]
24
[TemplatePart(Name =
CalendarItem
.ElementYearView, Type = typeof(Grid))]
25
[TemplatePart(Name =
CalendarItem
.ElementDisabledVisual, Type = typeof(FrameworkElement))]
65
DefaultStyleKeyProperty.OverrideMetadata(typeof(
CalendarItem
), new FrameworkPropertyMetadata(typeof(
CalendarItem
)));
66
FocusableProperty.OverrideMetadata(typeof(
CalendarItem
), new FrameworkPropertyMetadata(false));
67
KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(
CalendarItem
), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
68
KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(
CalendarItem
), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
70
IsEnabledProperty.OverrideMetadata(typeof(
CalendarItem
), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
1434
_dayTitleTemplateResourceKey = new ComponentResourceKey(typeof(
CalendarItem
), ElementDayTitleTemplate);