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






Glossary Item Box

Specifies if optional mask positions are automatically skipped until the first position allowing the typed character. Specifies if optional mask positions are automatically skipped until the first position allowing the typed character.

Syntax

Visual Basic (Declaration) 
<System.ComponentModel.DescriptionAttribute("Specifies if optional mask positions are automatically skipped until the first position allowing the typed character.")>
<System.ComponentModel.NotifyParentPropertyAttribute(True)>
<ISNet.Serialization.BinarySerializableAttribute()>
<System.ComponentModel.DefaultValueAttribute()>
<ISNet.Serialization.XmlSerializableAttribute()>
Public Property SkipOptional As System.Boolean
Visual Basic (Usage)Copy Code
Dim instance As MaskInfo
Dim value As System.Boolean
 
instance.SkipOptional = value
 
value = instance.SkipOptional
C# 
[System.ComponentModel.DescriptionAttribute("Specifies if optional mask positions are automatically skipped until the first position allowing the typed character.")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
public System.bool SkipOptional {get; set;}
Delphi 
public read-write property SkipOptional: System.Boolean; 
JScript 
System.ComponentModel.DescriptionAttribute("Specifies if optional mask positions are automatically skipped until the first position allowing the typed character.")
System.ComponentModel.NotifyParentPropertyAttribute()
ISNet.Serialization.BinarySerializableAttribute()
System.ComponentModel.DefaultValueAttribute()
ISNet.Serialization.XmlSerializableAttribute()
public function get,set SkipOptional : System.boolean
Managed Extensions for C++ 
[System.ComponentModel.DescriptionAttribute("Specifies if optional mask positions are automatically skipped until the first position allowing the typed character.")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
public: __property System.bool get_SkipOptional();
public: __property void set_SkipOptional( 
   System.bool value
);
C++/CLI 
[System.ComponentModel.DescriptionAttribute("Specifies if optional mask positions are automatically skipped until the first position allowing the typed character.")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[System.ComponentModel.DefaultValueAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
public:
property System.bool SkipOptional {
   System.bool get();
   void set (    System.bool value);
}

Property Value

The default is true.

Remarks

When you have input mask that used optional masking character such as # or 9, the editing behavior will skip the optional entry by default and focus the highlight to the next text object. To prevent the skip behavior, set the SkipOptional property to false.

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.