ClassRadListBox
Represents the Silverlight RadListBox control wrapper.
Definition
Namespace:Telerik.WebAii.Controls.Xaml
Assembly:Telerik.WebAii.Controls.Xaml.dll
Syntax:
public class RadListBox : Selector, IAutomationPeer, IPeerConverter, IControl, IRadListBox, ISelector, IFrameworkElement, ITargetElement
Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementSilverlightTestElementControlItemsControlSelectorRadListBox
Implements:
Inherited Members
Constructors
RadListBox()
Initializes a new instance of the RadListBox class.
Declaration
public RadListBox()
Properties
Items
Get the list of ListBox items.
Declaration
public IList<IRadListBoxItem> Items { get; }
Property Value
Implements
Text
Gets the TextValue of the control
Methods
AssignReference(AutomationReference)
Assign the reference and perform your custom class initialization.
Declaration
public override void AssignReference(AutomationReference reference)
Parameters
reference
Overrides
Implements
SelectItem(int)
Simulate user selecting an item. Note that only visible items can be selected as the control is virtualized.
Declaration
public void SelectItem(int itemIndex)
Parameters
itemIndex
The index of the item to be selected.
Implements
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
public void SelectItem(int itemIndex, ListBoxSelectionModifierKey modifier)
Parameters
itemIndex
The index of the item to be selected.
modifier
The modifier key that is used.
Implements
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
public void SelectItem(string itemText)
Parameters
itemText
The text of the item to be selected.
Implements
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
public void SelectItem(string itemText, ListBoxSelectionModifierKey modifier)
Parameters
itemText
The text of the item to be selected.
modifier
The modifier key that is used.
Implements