21 references to CalendarItem
PresentationFramework (21)
System\Windows\Controls\Calendar.cs (6)
21
[TemplatePart(Name = Calendar.ElementMonth, Type = typeof(
CalendarItem
))]
42
private
CalendarItem
_monthControl;
390
CalendarItem
monthControl = c.MonthControl;
716
internal
CalendarItem
MonthControl
758
_monthControl = GetTemplateChild(ElementMonth) as
CalendarItem
;
1069
CalendarItem
monthControl = this.MonthControl;
System\Windows\Controls\Primitives\CalendarItem.cs (15)
17
[TemplatePart(Name =
CalendarItem
.ElementRoot, Type = typeof(FrameworkElement))]
18
[TemplatePart(Name =
CalendarItem
.ElementHeaderButton, Type = typeof(Button))]
19
[TemplatePart(Name =
CalendarItem
.ElementPreviousButton, Type = typeof(Button))]
20
[TemplatePart(Name =
CalendarItem
.ElementNextButton, Type = typeof(Button))]
21
[TemplatePart(Name =
CalendarItem
.ElementDayTitleTemplate, Type = typeof(DataTemplate))]
22
[TemplatePart(Name =
CalendarItem
.ElementMonthView, Type = typeof(Grid))]
23
[TemplatePart(Name =
CalendarItem
.ElementYearView, Type = typeof(Grid))]
24
[TemplatePart(Name =
CalendarItem
.ElementDisabledVisual, Type = typeof(FrameworkElement))]
64
DefaultStyleKeyProperty.OverrideMetadata(typeof(
CalendarItem
), new FrameworkPropertyMetadata(typeof(
CalendarItem
)));
65
FocusableProperty.OverrideMetadata(typeof(
CalendarItem
), new FrameworkPropertyMetadata(false));
66
KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(
CalendarItem
), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
67
KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(
CalendarItem
), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
69
IsEnabledProperty.OverrideMetadata(typeof(
CalendarItem
), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged)));
1430
_dayTitleTemplateResourceKey = new ComponentResourceKey(typeof(
CalendarItem
), ElementDayTitleTemplate);