Class HtmlSelect
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Controls.HtmlControls
Assembly: ArtOfTest.WebAii.dll
Syntax
public class HtmlSelect : HtmlContainerControl
Constructors
HtmlSelect()
Declaration
public HtmlSelect()
HtmlSelect(Element)
Properties
Item[Int32]
Declaration
public HtmlOption this[int index] { get; }
Parameters
System.Int32
index
|
Property Value
HtmlOption
|
Options
Declaration
public ReadOnlyCollection<HtmlOption> Options { get; }
Property Value
System.Collections.ObjectModel.ReadOnlyCollection<HtmlOption>
|
SelectedIndex
Declaration
public int SelectedIndex { get; }
Property Value
System.Int32
|
SelectedOption
Methods
AssignElement(Element)
InvokeOnChange(Boolean)
Declaration
protected virtual void InvokeOnChange(bool initEvent)
Parameters
System.Boolean
initEvent
|
MultiSelect(HtmlOption[])
MultiSelectByIndex(Int32[])
Declaration
public void MultiSelectByIndex(params int[] indexes)
Parameters
System.Int32[]
indexes
|
MultiSelectByText(String[])
Declaration
public void MultiSelectByText(params string[] textStrings)
Parameters
System.String[]
textStrings
|
MultiSelectByValue(String[])
Declaration
public void MultiSelectByValue(params string[] values)
Parameters
System.String[]
values
|
SelectByIndex(Int32)
Declaration
public void SelectByIndex(int index)
Parameters
System.Int32
index
|
SelectByIndex(Int32, Boolean, Boolean)
Declaration
public void SelectByIndex(int index, bool invokeOnChangeEvent, bool initEvent = true)
Parameters
System.Int32
index
|
System.Boolean
invokeOnChangeEvent
|
System.Boolean
initEvent
|
SelectByPartialText(String, Boolean)
Declaration
public void SelectByPartialText(string partialText, bool invokeOnChangeEvent)
Parameters
System.String
partialText
|
System.Boolean
invokeOnChangeEvent
|
SelectByPartialValue(String, Boolean)
Declaration
public void SelectByPartialValue(string partialValue, bool invokeOnChangeEvent)
Parameters
System.String
partialValue
|
System.Boolean
invokeOnChangeEvent
|
SelectByText(String)
Declaration
public void SelectByText(string text)
Parameters
System.String
text
|
SelectByText(String, Boolean, Boolean)
Declaration
public void SelectByText(string text, bool invokeOnChangeEvent, bool initEvent = true)
Parameters
System.String
text
|
System.Boolean
invokeOnChangeEvent
|
System.Boolean
initEvent
|
SelectByValue(String)
Declaration
public void SelectByValue(string value)
Parameters
System.String
value
|
SelectByValue(String, Boolean, Boolean)
Declaration
public void SelectByValue(string value, bool invokeOnChangeEvent, bool initEvent = true)
Parameters
System.String
value
|
System.Boolean
invokeOnChangeEvent
|
System.Boolean
initEvent
|