Xceed DataGrid for WPF v7.2 Documentation
PromptChar Property


Xceed.Wpf.Controls Assembly > Xceed.Wpf.Controls Namespace > MaskedTextBox Class : PromptChar Property
Gets or sets the character that represents the positions in the masked text box that require user input.
Syntax
'Declaration
 
Public Property PromptChar As Char
'Usage
 
Dim instance As MaskedTextBox
Dim value As Char
 
instance.PromptChar = value
 
value = instance.PromptChar
public char PromptChar {get; set;}

Property Value

A character that represents the positions in the masked text box that require input. By default, "_"­ (underscore).
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