Intersoft WebInput Documentation
PromptChar Property
See Also  Send Feedback
ISNet.WebUI.WebControls Namespace > MaskInfo Class : PromptChar Property






Glossary Item Box

Specifies character displayed on empty mask positions. Specifies character displayed on empty mask positions.

Syntax

Visual Basic (Declaration) 
<System.ComponentModel.NotifyParentPropertyAttribute(True)>
<System.ComponentModel.DefaultValueAttribute()>
<System.ComponentModel.DescriptionAttribute("Specifies character displayed on empty mask positions.")>
<ISNet.Serialization.XmlSerializableAttribute(True)>
<ISNet.Serialization.BinarySerializableAttribute()>
Public Property PromptChar As System.Char
Visual Basic (Usage)Copy Code
Dim instance As MaskInfo
Dim value As System.Char
 
instance.PromptChar = value
 
value = instance.PromptChar
C# 
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.DescriptionAttribute("Specifies character displayed on empty mask positions.")]
[ISNet.Serialization.XmlSerializableAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public System.char PromptChar {get; set;}
Delphi 
public read-write property PromptChar: System.Char; 
JScript 
System.ComponentModel.NotifyParentPropertyAttribute()
System.ComponentModel.DefaultValueAttribute()
System.ComponentModel.DescriptionAttribute("Specifies character displayed on empty mask positions.")
ISNet.Serialization.XmlSerializableAttribute()
ISNet.Serialization.BinarySerializableAttribute()
public function get,set PromptChar : System.char
Managed Extensions for C++ 
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.DescriptionAttribute("Specifies character displayed on empty mask positions.")]
[ISNet.Serialization.XmlSerializableAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public: __property System.char get_PromptChar();
public: __property void set_PromptChar( 
   System.char value
);
C++/CLI 
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[System.ComponentModel.DefaultValueAttribute()]
[System.ComponentModel.DescriptionAttribute("Specifies character displayed on empty mask positions.")]
[ISNet.Serialization.XmlSerializableAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
public:
property System.char PromptChar {
   System.char get();
   void set (    System.char value);
}

Property Value

The default is '_'.

Remarks

When you type data in a field for which you have defined an input mask, the data is always entered in Overtype mode. If you use the BACKSPACE key to delete a character, the character is replaced by a PromptChar character.

Requirements

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

See Also

© 2013 Intersoft Solutions Corp. All Rights Reserved.