20 references to GetCulture
PresentationFramework (20)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (4)
243
string dateString = DateTimeHelper.ToLongDateString(Date, DateTimeHelper.
GetCulture
(OwningCalendar));
324
dateString = DateTimeHelper.ToLongDateString(Date, DateTimeHelper.
GetCulture
(OwningCalendar));
327
dateString = DateTimeHelper.ToYearMonthPatternString(Date, DateTimeHelper.
GetCulture
(OwningCalendar));
330
dateString = DateTimeHelper.ToYearString(Date, DateTimeHelper.
GetCulture
(OwningCalendar));
System\Windows\Controls\Calendar.cs (2)
509
c.SetCurrentValueInternal(FirstDayOfWeekProperty, DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(c)).FirstDayOfWeek);
777
return this.SelectedDate.Value.ToString(DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(this)));
System\Windows\Controls\DatePicker.cs (5)
403
datePicker.SetCurrentValueInternal(FirstDayOfWeekProperty, DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(datePicker)).FirstDayOfWeek);
748
return this.SelectedDate.Value.ToString(DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(this)));
1003
DateTimeFormatInfo dtfi = DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(this));
1124
newSelectedDate = DateTime.Parse(text, DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(this)));
1285
DateTimeFormatInfo dtfi = DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(this));
System\Windows\Controls\DateTimeHelper.cs (1)
210
DateTimeFormatInfo format = DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(fe));
System\Windows\Controls\Primitives\CalendarItem.cs (8)
1021
string[] shortestDayNames = DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(this)).ShortestDayNames;
1035
daytitle.DataContext = shortestDayNames[(childIndex + (int)DateTimeHelper.GetDateFormat( DateTimeHelper.
GetCulture
(this)).FirstDayOfWeek) % shortestDayNames.Length];
1050
CultureInfo culture = DateTimeHelper.
GetCulture
(this);
1198
this._headerButton.Content = DateTimeHelper.ToYearMonthPatternString(DisplayDate, DateTimeHelper.
GetCulture
(this));
1256
childButton.SetContentInternal(DateTimeHelper.ToYearString(day, DateTimeHelper.
GetCulture
(this)));
1300
childButton.SetContentInternal(DateTimeHelper.ToAbbreviatedMonthString(day, DateTimeHelper.
GetCulture
(this)));
1329
this._headerButton.Content = DateTimeHelper.ToYearString(DisplayDate, DateTimeHelper.
GetCulture
(this));
1392
i = ((day - DateTimeHelper.GetDateFormat(DateTimeHelper.
GetCulture
(this)).FirstDayOfWeek + NUMBER_OF_DAYS_IN_WEEK) % NUMBER_OF_DAYS_IN_WEEK);