21 references to CalendarItem
PresentationFramework (21)
System\Windows\Controls\Calendar.cs (6)
17[TemplatePart(Name = Calendar.ElementMonth, Type = typeof(CalendarItem))] 38private CalendarItem _monthControl; 386CalendarItem monthControl = c.MonthControl; 712internal CalendarItem MonthControl 754_monthControl = GetTemplateChild(ElementMonth) as CalendarItem; 1063CalendarItem 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))] 59DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(typeof(CalendarItem))); 60FocusableProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(false)); 61KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 62KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 64IsEnabledProperty.OverrideMetadata(typeof(CalendarItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 1428_dayTitleTemplateResourceKey = new ComponentResourceKey(typeof(CalendarItem), ElementDayTitleTemplate);