1 instantiation of CalendarButton
PresentationFramework (1)
System\Windows\Controls\Primitives\CalendarItem.cs (1)
995monthCell = new CalendarButton();
33 references to CalendarButton
PresentationFramework (33)
System\Windows\Controls\Calendar.cs (1)
916internal void OnCalendarButtonPressed(CalendarButton b, bool switchDisplayMode)
System\Windows\Controls\Primitives\CalendarButton.cs (4)
23DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarButton), new FrameworkPropertyMetadata(typeof(CalendarButton))); 41typeof(CalendarButton), 65typeof(CalendarButton),
System\Windows\Controls\Primitives\CalendarItem.cs (28)
394internal CalendarButton GetCalendarButton(DateTime date, CalendarMode mode) 398foreach (CalendarButton b in GetCalendarButtons()) 422internal CalendarButton GetFocusedCalendarButton() 424foreach (CalendarButton b in GetCalendarButtons()) 435private IEnumerable<CalendarButton> GetCalendarButtons() 439CalendarButton b = element as CalendarButton; 497CalendarButton child = yearViewChildren[0] as CalendarButton; 508CalendarButton child = yearViewChildren[count - 1] as CalendarButton; 875CalendarButton b = sender as CalendarButton; 890CalendarButton b = sender as CalendarButton; 899CalendarButton b = sender as CalendarButton; 911CalendarButton b = sender as CalendarButton; 989CalendarButton monthCell; 1000monthCell.SetBinding(CalendarButton.StyleProperty, GetOwnerBinding("CalendarButtonStyle")); 1002monthCell.AddHandler(CalendarButton.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Month_MouseLeftButtonDown), true); 1003monthCell.AddHandler(CalendarButton.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Month_MouseLeftButtonUp), true); 1004monthCell.AddHandler(CalendarButton.MouseEnterEvent, new MouseEventHandler(Month_MouseEnter), true); 1247CalendarButton childButton = child as CalendarButton; 1294CalendarButton childButton = child as CalendarButton;