InterfaceIRadListBox
Represents the RadListBox control wrapper for SL/Wpf interface.
Definition
Namespace:Telerik.WebAii.Controls.Xaml
Assembly:Telerik.WebAii.Controls.Xaml.dll
Syntax:
public interface IRadListBox : ISelector, IFrameworkElement, ITargetElement
Derived Classes:
Inherited Members
Properties
Items
Get the list of ListBox items.
Declaration
IList<IRadListBoxItem> Items { get; }
Property Value
Text
Gets the TextValue of the control
Methods
SelectItem(int)
Simulate user selecting an item. Note that only visible items can be selected as the control is virtualized.
Declaration
void SelectItem(int itemIndex)
Parameters
itemIndex
The index of the item to be selected.
SelectItem(int, ListBoxSelectionModifierKey)
Simulate user selecting an item using modifier key. Note that only visible items can be selected as the control is virtualized.
Declaration
void SelectItem(int itemIndex, ListBoxSelectionModifierKey modifier)
Parameters
itemIndex
The index of the item to be selected.
modifier
The modifier key that is used.
SelectItem(string)
Simulate user selecting the item with the given text. Note that only visible items can be selected as the control is virtualized.
Declaration
void SelectItem(string itemText)
Parameters
itemText
The text of the item to be selected.
SelectItem(string, ListBoxSelectionModifierKey)
Simulate user selecting the item with the given text using modifier key. Note that only visible items can be selected as the control is virtualized.
Declaration
void SelectItem(string itemText, ListBoxSelectionModifierKey modifier)
Parameters
itemText
The text of the item to be selected.
modifier
The modifier key that is used.