1 instantiation of CalendarButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
991monthCell = new CalendarButton
33 references to CalendarButton
PresentationFramework (33)
System\Windows\Controls\Calendar.cs (1)
912internal void OnCalendarButtonPressed(CalendarButton b, bool switchDisplayMode)
System\Windows\Controls\Primitives\CalendarButton.cs (4)
20DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarButton), new FrameworkPropertyMetadata(typeof(CalendarButton))); 38typeof(CalendarButton), 62typeof(CalendarButton),
System\Windows\Controls\Primitives\CalendarItem.cs (28)
389internal CalendarButton GetCalendarButton(DateTime date, CalendarMode mode) 393foreach (CalendarButton b in GetCalendarButtons()) 417internal CalendarButton GetFocusedCalendarButton() 419foreach (CalendarButton b in GetCalendarButtons()) 430private IEnumerable<CalendarButton> GetCalendarButtons() 434CalendarButton b = element as CalendarButton; 492CalendarButton child = yearViewChildren[0] as CalendarButton; 503CalendarButton child = yearViewChildren[count - 1] as CalendarButton; 870CalendarButton b = sender as CalendarButton; 885CalendarButton b = sender as CalendarButton; 894CalendarButton b = sender as CalendarButton; 906CalendarButton b = sender as CalendarButton; 985CalendarButton monthCell; 997monthCell.SetBinding(CalendarButton.StyleProperty, GetOwnerBinding("CalendarButtonStyle")); 999monthCell.AddHandler(CalendarButton.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Month_MouseLeftButtonDown), true); 1000monthCell.AddHandler(CalendarButton.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Month_MouseLeftButtonUp), true); 1001monthCell.AddHandler(CalendarButton.MouseEnterEvent, new MouseEventHandler(Month_MouseEnter), true); 1243CalendarButton childButton = child as CalendarButton; 1290CalendarButton childButton = child as CalendarButton;