HidePromptOnLeave Property

MaskedTextBox.HidePromptOnLeave Property

 

Gets or sets a value indicating whether the prompt characters in the input mask are hidden when the masked text box loses focus.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public bool HidePromptOnLeave { get; set; }

Property Value

Type: System.Boolean

true if PromptChar is hidden when MaskedTextBox does not have focus; otherwise, false. The default is false.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft