Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / MaskedTextBox Class / HidePromptOnLeave Property


In This Topic
    HidePromptOnLeave Property
    In This Topic
    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 otherwise.
    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