Calendar for WPF | ComponentOne
C1.WPF.Calendar Namespace / DateTimeUtils Class / GetCurrentDateTimeFormat Method / GetCurrentDateTimeFormat(FrameworkElement) Method

In This Topic
    GetCurrentDateTimeFormat(FrameworkElement) Method
    In This Topic
    Gets the current date time format based on the specified element Language property value.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetCurrentDateTimeFormat( _
       ByVal element As FrameworkElement _
    ) As DateTimeFormatInfo
    public static DateTimeFormatInfo GetCurrentDateTimeFormat( 
       FrameworkElement element
    )

    Parameters

    element
    See Also