Xceed DataGrid for WPF v7.2 Documentation
HidePromptOnLeave Property


Xceed.Wpf.Controls Assembly > Xceed.Wpf.Controls Namespace > MaskedTextBox Class : HidePromptOnLeave Property
Gets or sets a value indicating if the prompt character is hidden when the masked text box loses focus.
Syntax
'Declaration
 
Public Property HidePromptOnLeave As Boolean
'Usage
 
Dim instance As MaskedTextBox
Dim value As Boolean
 
instance.HidePromptOnLeave = value
 
value = instance.HidePromptOnLeave
public bool HidePromptOnLeave {get; set;}

Property Value

true, if the prompt character is hidden when the masked text box loses focus; false if they remain visible. By default, false.
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