Version

MatchChar Method (DisplayCharBase)

Returns true if the specified character c matches the mask
Syntax
'Declaration
 
Public MustOverride Function MatchChar( _
   ByVal c As Char _
) As Boolean
public abstract bool MatchChar( 
   char c
)

Parameters

c
Character to match
Remarks

MatchChar method is an abstract method that derived display character classes implement. This method returns a value indicating whether the specified character matches this display character. If this method returns False for a character, the user can not enter that character in the place of this display character.

Note: Typically you don't need to use this method directly as the XamMaskedInput will automatically validate the user input against the specified mask.

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