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


In This Topic
    ResetOnPrompt Property
    In This Topic
    Gets or sets a value indicating if the character at the current caret position should be reset when the prompt character is pressed.
    Syntax
    'Declaration
     
    Public Property ResetOnPrompt As Boolean
    'Usage
     
    Dim instance As MaskedTextBox
    Dim value As Boolean
     
    instance.ResetOnPrompt = value
     
    value = instance.ResetOnPrompt
    public bool ResetOnPrompt {get; set;}

    Property Value

    true if the character at the current caret position should be reset; false if the prompt character is to be considered as a normal input character. By default, true.
    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