MobileForms Toolkit Documentation

MaskedTextBox.PromptChar Property

Gets or sets the character used to represent the absence of user input in MaskedTextBox.

public char PromptChar {get; set;}

Property Value

The character used to prompt the user for input. The default is an underscore (_).

Remarks

PromptChar will be displayed in MaskedTextBox for any mask position that the user has not yet filled in.

Use the HidePromptOnLeave property to specify whether the prompt is displayed when MaskedTextBox does not have focus.

See Also

MaskedTextBox Class | Resco.Controls.MaskedTextBox Namespace