17 references to GetDateFormat
PresentationFramework (17)
System\Windows\Controls\Calendar.cs (2)
505c.SetCurrentValueInternal(FirstDayOfWeekProperty, DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(c)).FirstDayOfWeek); 773return this.SelectedDate.Value.ToString(DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this)));
System\Windows\Controls\DatePicker.cs (5)
399datePicker.SetCurrentValueInternal(FirstDayOfWeekProperty, DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(datePicker)).FirstDayOfWeek); 744return this.SelectedDate.Value.ToString(DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this))); 999DateTimeFormatInfo dtfi = DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this)); 1120newSelectedDate = DateTime.Parse(text, DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this))); 1281DateTimeFormatInfo dtfi = DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this));
System\Windows\Controls\DateTimeHelper.cs (7)
105return GetDateFormat(CultureInfo.CurrentCulture); 194DateTimeFormatInfo format = GetDateFormat(culture); 208DateTimeFormatInfo format = DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(fe)); 224DateTimeFormatInfo format = GetDateFormat(culture); 237DateTimeFormatInfo format = GetDateFormat(culture); 250DateTimeFormatInfo format = GetDateFormat(culture); 267DateTimeFormatInfo format = GetDateFormat(culture);
System\Windows\Controls\Primitives\CalendarItem.cs (3)
1016string[] shortestDayNames = DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this)).ShortestDayNames; 1030daytitle.DataContext = shortestDayNames[(childIndex + (int)DateTimeHelper.GetDateFormat( DateTimeHelper.GetCulture(this)).FirstDayOfWeek) % shortestDayNames.Length]; 1387i = ((day - DateTimeHelper.GetDateFormat(DateTimeHelper.GetCulture(this)).FirstDayOfWeek + NUMBER_OF_DAYS_IN_WEEK) % NUMBER_OF_DAYS_IN_WEEK);