1 instantiation of CalendarButton
PresentationFramework (1)
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (1)
997monthCell = new CalendarButton();
33 references to CalendarButton
PresentationFramework (33)
src\Framework\System\Windows\Controls\Calendar.cs (1)
917internal void OnCalendarButtonPressed(CalendarButton b, bool switchDisplayMode)
src\Framework\System\Windows\Controls\Primitives\CalendarButton.cs (4)
24DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarButton), new FrameworkPropertyMetadata(typeof(CalendarButton))); 42typeof(CalendarButton), 66typeof(CalendarButton),
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (28)
395internal CalendarButton GetCalendarButton(DateTime date, CalendarMode mode) 399foreach (CalendarButton b in GetCalendarButtons()) 423internal CalendarButton GetFocusedCalendarButton() 425foreach (CalendarButton b in GetCalendarButtons()) 436private IEnumerable<CalendarButton> GetCalendarButtons() 440CalendarButton b = element as CalendarButton; 498CalendarButton child = yearViewChildren[0] as CalendarButton; 509CalendarButton child = yearViewChildren[count - 1] as CalendarButton; 877CalendarButton b = sender as CalendarButton; 892CalendarButton b = sender as CalendarButton; 901CalendarButton b = sender as CalendarButton; 913CalendarButton b = sender as CalendarButton; 991CalendarButton monthCell; 1002monthCell.SetBinding(CalendarButton.StyleProperty, GetOwnerBinding("CalendarButtonStyle")); 1004monthCell.AddHandler(CalendarButton.MouseLeftButtonDownEvent, new MouseButtonEventHandler(Month_MouseLeftButtonDown), true); 1005monthCell.AddHandler(CalendarButton.MouseLeftButtonUpEvent, new MouseButtonEventHandler(Month_MouseLeftButtonUp), true); 1006monthCell.AddHandler(CalendarButton.MouseEnterEvent, new MouseEventHandler(Month_MouseEnter), true); 1250CalendarButton childButton = child as CalendarButton; 1297CalendarButton childButton = child as CalendarButton;