Infragistics(R) NetAdvantage(R) : Silverlight 2011.2
RegisterDefaultMaskForType Method
See Also  E-mail your feedback on this topic.
Infragistics.Controls.Editors Namespace > XamMaskedInput Class : RegisterDefaultMaskForType Method

dataType
Data type for which to register the mask.
mask
The default mask that will be used for the specified data type.
Changes the default mask used by the MaskedInput for the specified data type.

Syntax

Visual Basic (Declaration) 
Public Shared Sub RegisterDefaultMaskForType( _
   ByVal dataType As Type, _
   ByVal mask As String _
) 
C# 
public static void RegisterDefaultMaskForType( 
   Type dataType,
   string mask
)

Parameters

dataType
Data type for which to register the mask.
mask
The default mask that will be used for the specified data type.

Remarks

If a mask is not explicitly specified on a MaskedInput or derived editor, a default is calculated based on the data type. You can override these default calculated masks using this method.

See Also