21 references to CalendarItem
PresentationFramework (21)
System\Windows\Controls\Calendar.cs (6)
17
[TemplatePart(Name = Calendar.ElementMonth, Type = typeof(
CalendarItem
))]
38
private
CalendarItem
_monthControl;
386
CalendarItem
monthControl = c.MonthControl;
712
internal
CalendarItem
MonthControl
754
_monthControl = GetTemplateChild(ElementMonth) as
CalendarItem
;
1063
CalendarItem
monthControl = this.MonthControl;
System\Windows\Controls\Primitives\CalendarItem.cs (15)
12
[TemplatePart(Name =
CalendarItem
.ElementRoot, Type = typeof(FrameworkElement))]
13
[TemplatePart(Name =
CalendarItem
.ElementHeaderButton, Type = typeof(Button))]
14
[TemplatePart(Name =
CalendarItem
.ElementPreviousButton, Type = typeof(Button))]
15
[TemplatePart(Name =
CalendarItem
.ElementNextButton, Type = typeof(Button))]
16
[TemplatePart(Name =
CalendarItem
.ElementDayTitleTemplate, Type = typeof(DataTemplate))]
17
[TemplatePart(Name =
CalendarItem
.ElementMonthView, Type = typeof(Grid))]
18
[TemplatePart(Name =
CalendarItem
.ElementYearView, Type = typeof(Grid))]
19
[TemplatePart(Name =
CalendarItem
.ElementDisabledVisual, Type = typeof(FrameworkElement))]
59
DefaultStyleKeyProperty.OverrideMetadata(typeof(
CalendarItem
), new FrameworkPropertyMetadata(typeof(
CalendarItem
)));
60
FocusableProperty.OverrideMetadata(typeof(
CalendarItem
), new FrameworkPropertyMetadata(false));
61
KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(
CalendarItem
), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
62
KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(
CalendarItem
), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
64
IsEnabledProperty.OverrideMetadata(typeof(
CalendarItem
), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
1428
_dayTitleTemplateResourceKey = new ComponentResourceKey(typeof(
CalendarItem
), ElementDayTitleTemplate);