Xceed DataGrid for WPF v7.2 Documentation
GetFullFormatSpecifier Method


Xceed.Wpf.Controls Assembly > Xceed.Wpf.Controls Namespace > DateTimeTextBox Class : GetFullFormatSpecifier Method
A DateTimeMaskMode value representing the mode that was used to mask the inputted text.
The IFormatProvider that will be used to create the format specifier.
Retrieves the full format specifier for the specified DateTimeMaskMode and format provider.
Syntax
'Declaration
 
Public Shared Function GetFullFormatSpecifier( _

   ByVal dateTimeMaskMode As DateTimeMaskMode, _

   ByVal formatProvider As IFormatProvider _

) As String
'Usage
 
Dim dateTimeMaskMode As DateTimeMaskMode

Dim formatProvider As IFormatProvider

Dim value As String

 

value = DateTimeTextBox.GetFullFormatSpecifier(dateTimeMaskMode, formatProvider)
public static string GetFullFormatSpecifier( 

   DateTimeMaskMode dateTimeMaskMode,

   IFormatProvider formatProvider

)

Parameters

dateTimeMaskMode
A DateTimeMaskMode value representing the mode that was used to mask the inputted text.
formatProvider
The IFormatProvider that will be used to create the format specifier.
Exceptions
ExceptionDescription
DateTimeMaskMode.Custom is not a supported value.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DateTimeTextBox Class
DateTimeTextBox Members