[]
        
(Showing Draft Content)

C1.WPF.DateTimeEditors.C1TimeEditor.GetCurrentDateTimeFormat

GetCurrentDateTimeFormat Method

GetCurrentDateTimeFormat()

Gets the current date time format.

Declaration
public static DateTimeFormatInfo GetCurrentDateTimeFormat()
Returns
Type Description
DateTimeFormatInfo

GetCurrentDateTimeFormat(FrameworkElement)

Gets the current date time format based on the specified element Language property value.

Declaration
public static DateTimeFormatInfo GetCurrentDateTimeFormat(FrameworkElement element)
Parameters
Type Name Description
FrameworkElement element
Returns
Type Description
DateTimeFormatInfo