GrapeCity.Win.MultiRow Namespace > MaskedTextBoxCell Class : PromptChar Property |
<RefreshPropertiesAttribute(RefreshProperties.Repaint)> <SRCategoryAttribute("Appearance")> <LocalizableAttribute(True)> <SRDescriptionAttribute("Indicates the character used as the placeholder.")> <DefaultValueAttribute()> Public Property PromptChar As Char
Dim instance As MaskedTextBoxCell Dim value As Char instance.PromptChar = value value = instance.PromptChar
[RefreshProperties(RefreshProperties.Repaint)] [SRCategory("Appearance")] [Localizable(true)] [SRDescription("Indicates the character used as the placeholder.")] [DefaultValue()] public char PromptChar {get; set;}
Exception | Description |
---|---|
System.ArgumentException | The character specified when setting this property is not a valid prompt character, as determined by the System.ComponentModel.MaskedTextProvider.IsValidInputChar(System.Char) method of the System.ComponentModel.MaskedTextProvider class. |
System.InvalidOperationException | The prompt character specified is the same as the current password character, PasswordChar. The two must be different. |
Target Platforms: 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