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