1 write to ButtonMode
PresentationFramework (1)
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
44
ButtonMode
= buttonMode;
9 references to ButtonMode
PresentationFramework (9)
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
296
DateTimeCalendarModePair key = new DateTimeCalendarModePair(dateTimePeer.Date, dateTimePeer.
ButtonMode
);
544
currentMode = (startAfterDatePeer != null) ? startAfterDatePeer.
ButtonMode
: OwningCalendar.DisplayMode;
554
currentMode = (startAfterDatePeer != null) ? startAfterDatePeer.
ButtonMode
: OwningCalendar.DisplayMode;
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (6)
89
return
ButtonMode
== CalendarMode.Month;
115
if (OwningCalendar.DisplayMode !=
ButtonMode
)
126
return OwningCalendar.MonthControl?.GetCalendarButton(this.Date,
ButtonMode
);
329
switch (
ButtonMode
)
872
if (OwningCalendar.DisplayMode !=
ButtonMode
)
874
OwningCalendar.DisplayMode =
ButtonMode
;