Version

CanEditType Method (XamMaskedEditor)

Determines if the editor natively supports editing values of specified type.
Syntax
'Declaration
 
Public Overrides Function CanEditType( _
   ByVal type As Type _
) As Boolean
public override bool CanEditType( 
   Type type
)

Parameters

type
The data type to check.

Return Value

Returns True if the editor natively supports editing values of specified type, False otherwise.
Remarks

XamMaskedEditor's implementation returns True for the string, sbyte, byte, short, ushort, int, uint, long, ulong, float, double, decimal and DateTime data types.

For these data types the editor will calculate a default mask. For any other data type, you should specify a mask that makes sense for the data type other wise a default mask will be used. You can change/register default masks for these and other data types using the RegisterDefaultMaskForType method.

See ValueEditor's CanEditType for more information.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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