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