Xceed Toolkit Plus for WPF v4.6 Documentation
GetFormatSpecifierFromMask(String,IFormatProvider) Method


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace > MaskedTextBox Class : GetFormatSpecifierFromMask(String,IFormatProvider) Method
The mask from which the format specifier is to be extracted.
An IFormatProvider that will be used to extract the appropriate symbols for any numeric mask characters contained in the mask.
Retrieves a format specifier from the specified mask and format provider.
Syntax
'Declaration
 
Public Shared Function GetFormatSpecifierFromMask( _
   ByVal mask As String, _
   ByVal formatProvider As IFormatProvider _
) As String
'Usage
 
Dim mask As String
Dim formatProvider As IFormatProvider
Dim value As String
 
value = MaskedTextBox.GetFormatSpecifierFromMask(mask, formatProvider)
public static string GetFormatSpecifierFromMask( 
   string mask,
   IFormatProvider formatProvider
)

Parameters

mask
The mask from which the format specifier is to be extracted.
formatProvider
An IFormatProvider that will be used to extract the appropriate symbols for any numeric mask characters contained in the mask.
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

MaskedTextBox Class
MaskedTextBox Members