ClassRadListBox
Represents the RadListBox class.
Definition
Namespace:Telerik.WebAii.Controls.Html
Assembly:Telerik.WebAii.Controls.Html.dll
Syntax:
public class RadListBox : HtmlContainerControl
Inheritance: objectControlHtmlControlHtmlContainerControlRadListBox
Inherited Members
Constructors
RadListBox()
Initializes a new instance of the RadListBox class.
Declaration
public RadListBox()
RadListBox(Element)
Initializes a new instance of the RadListBox class.
Properties
AllowTransferOnDoubleClick
Get the value of the AllowTransferOnDoubleClick property.
AutoPostBack
Get whether Listbox AutoPostBack is enabled.
ButtonPosition
ListBox button position.
Declaration
public ListBoxButtonPosition ButtonPosition { get; }
Property Value
CheckBoxesEnabled
Get whether the ListBox check box support is enabled.
CheckedItems
Gets a list of the checked items.
Declaration
public IList<RadListBoxItem> CheckedItems { get; }
Property Value
ClientSideLocator
Get the locator FindParam.
Declaration
public override string ClientSideLocator { get; }
Property Value
Overrides
DeleteButton
The delete button.
ElementOffsetWidth
Get the offset width of the Listbox element.
Enabled
Get whether Listbox is enabled.
Items
Get the list of items.
Declaration
public IList<RadListBoxItem> Items { get; }
Property Value
LocatorExpression
Get the FindExpression.
Declaration
public override IFindExpression LocatorExpression { get; }
Property Value
Overrides
MoveDownButton
The move down button.
MoveUpButton
The move up button.
SelectedIndex
Gets the selected index of the RadListBox. Returns '-1' if there is no selected item.
SelectedItems
Gets a list of the selected items.
Declaration
public IList<RadListBoxItem> SelectedItems { get; }
Property Value
TransferAllFromButton
The transfer all from button.
Declaration
public HtmlControl TransferAllFromButton { get; }
Property Value
TransferAllToButton
The transfer all to button.
Declaration
public HtmlControl TransferAllToButton { get; }
Property Value
TransferFromButton
The transfer from button.
Declaration
public HtmlControl TransferFromButton { get; }
Property Value
TransferToButton
The transfer to button.
Declaration
public HtmlControl TransferToButton { get; }
Property Value
Methods
AssignElement(Element)
Assign the DOM element to be the RadListBox control.
Declaration
public override void AssignElement(Element e)
Parameters
e
Overrides
ControlAssert()
Returns RadControlAssert instance initialized for this control.
Declaration
public RadControlAssert ControlAssert()
Returns
RadControlAssert instance initialized for this control.
FindItems(Predicate<RadListBoxItem>)
Get a list of items matching the given predicate.
Declaration
public IList<RadListBoxItem> FindItems(Predicate<RadListBoxItem> predicate)
Parameters
predicate
The predicate, i.e. (item => item.Text == myText).
Returns
The items matching the given predicate.
TransferAllFrom()
Click the transfer all from button.
Declaration
public void TransferAllFrom()
TransferAllTo()
Click the transfer all to button.
Declaration
public void TransferAllTo()
TransferFrom()
Click the transfer from button.
Declaration
public void TransferFrom()