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






Glossary Item Box

Determines the selection position when control receives focus. Determines the selection position when control receives focus.

Syntax

Visual Basic (Declaration) 
<System.ComponentModel.CategoryAttribute("Behavior")>
<System.ComponentModel.DescriptionAttribute("Determines the selection position when control receives input focus.")>
<System.ComponentModel.NotifyParentPropertyAttribute(True)>
<ISNet.Serialization.XmlSerializableAttribute()>
<System.ComponentModel.DefaultValueAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
Public Property InitialSelection As InitialSelection
Visual Basic (Usage)Copy Code
Dim instance As WebInput
Dim value As InitialSelection
 
instance.InitialSelection = value
 
value = instance.InitialSelection
C# 
[System.ComponentModel.CategoryAttribute("Behavior")]
[System.ComponentModel.DescriptionAttribute("Determines the selection position when control receives input focus.")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute()]
[System.ComponentModel.DefaultValueAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
public InitialSelection InitialSelection {get; set;}
Delphi 
public read-write property InitialSelection: InitialSelection; 
JScript 
System.ComponentModel.CategoryAttribute("Behavior")
System.ComponentModel.DescriptionAttribute("Determines the selection position when control receives input focus.")
System.ComponentModel.NotifyParentPropertyAttribute()
ISNet.Serialization.XmlSerializableAttribute()
System.ComponentModel.DefaultValueAttribute()
ISNet.Serialization.BinarySerializableAttribute()
public function get,set InitialSelection : InitialSelection
Managed Extensions for C++ 
[System.ComponentModel.CategoryAttribute("Behavior")]
[System.ComponentModel.DescriptionAttribute("Determines the selection position when control receives input focus.")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute()]
[System.ComponentModel.DefaultValueAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
public: __property InitialSelection get_InitialSelection();
public: __property void set_InitialSelection( 
   InitialSelection value
);
C++/CLI 
[System.ComponentModel.CategoryAttribute("Behavior")]
[System.ComponentModel.DescriptionAttribute("Determines the selection position when control receives input focus.")]
[System.ComponentModel.NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute()]
[System.ComponentModel.DefaultValueAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
public:
property InitialSelection InitialSelection {
   InitialSelection get();
   void set (    InitialSelection value);
}

Property Value

One of the InitialSelection enumeration values that determines the selection position when control receives input focus. The default is InitialSelection.SelectAll

Remarks

Using this property WebInput can set selection position when control receives focus. Default option for this property is SelectAll.

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.