19 references to GetCulture
PresentationFramework (19)
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (4)
251
string dateString = DateTimeHelper.ToLongDateString(Date, DateTimeHelper.
GetCulture
(OwningCalendar));
332
dateString = DateTimeHelper.ToLongDateString(Date, DateTimeHelper.
GetCulture
(OwningCalendar));
335
dateString = DateTimeHelper.ToYearMonthPatternString(Date, DateTimeHelper.
GetCulture
(OwningCalendar));
338
dateString = DateTimeHelper.ToYearString(Date, DateTimeHelper.
GetCulture
(OwningCalendar));
src\Framework\System\Windows\Controls\Calendar.cs (2)
510
c.SetCurrentValueInternal(FirstDayOfWeekProperty, DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(c)).FirstDayOfWeek);
778
return this.SelectedDate.Value.ToString(DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(this)));
src\Framework\System\Windows\Controls\DatePicker.cs (4)
737
return this.SelectedDate.Value.ToString(DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(this)));
992
DateTimeFormatInfo dtfi = DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(this));
1113
newSelectedDate = DateTime.Parse(text, DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(this)));
1274
DateTimeFormatInfo dtfi = DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(this));
src\Framework\System\Windows\Controls\DateTimeHelper.cs (1)
210
DateTimeFormatInfo format = DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(fe));
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (8)
1024
string[] shortestDayNames = DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(this)).ShortestDayNames;
1038
daytitle.DataContext = shortestDayNames[(childIndex + (int)DateTimeHelper.GetDateFormat( DateTimeHelper.
GetCulture
(this)).FirstDayOfWeek) % shortestDayNames.Length];
1053
CultureInfo culture = DateTimeHelper.
GetCulture
(this);
1201
this._headerButton.Content = DateTimeHelper.ToYearMonthPatternString(DisplayDate, DateTimeHelper.
GetCulture
(this));
1259
childButton.SetContentInternal(DateTimeHelper.ToYearString(day, DateTimeHelper.
GetCulture
(this)));
1303
childButton.SetContentInternal(DateTimeHelper.ToAbbreviatedMonthString(day, DateTimeHelper.
GetCulture
(this)));
1333
this._headerButton.Content = DateTimeHelper.ToYearString(DisplayDate, DateTimeHelper.
GetCulture
(this));
1396
i = ((day - DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(this)).FirstDayOfWeek + NUMBER_OF_DAYS_IN_WEEK) % NUMBER_OF_DAYS_IN_WEEK);