3 references to ToYearString
PresentationFramework (3)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
323
dateString = DateTimeHelper.
ToYearString
(Date, DateTimeHelper.GetCulture(OwningCalendar));
System\Windows\Controls\Primitives\CalendarItem.cs (2)
1251
childButton.SetContentInternal(DateTimeHelper.
ToYearString
(day, DateTimeHelper.GetCulture(this)));
1324
this._headerButton.Content = DateTimeHelper.
ToYearString
(DisplayDate, DateTimeHelper.GetCulture(this));