Version

PadChar Property

Returns or sets the character that will be used as the pad character. Default is space character (' ').
Syntax
'Declaration
 
Public Property PadChar As Nullable(Of Char)
public Nullable<char> PadChar {get; set;}
Remarks

The pad character is the character that is used to replace the prompt characters when getting the data from the XamMaskedEditor control with DataMode of IncludeLiteralsWithPadding.

For example, if the data in the editor is as follows:
111-2_-____
and DataMode is set to IncludeLiteralsWithPadding then the returned value will be "111-2 - ". Prompt characters will be replaced by the pad character.

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