Interface
IRadListBox

Represents the RadListBox control wrapper for SL/Wpf interface.

Definition

Namespace:Telerik.WebAii.Controls.Xaml

Assembly:Telerik.WebAii.Controls.Xaml.dll

Syntax:

cs-api-definition
public interface IRadListBox : ISelector, IFrameworkElement, ITargetElement

Derived Classes: RadListBoxDockingNavigatorListBoxFileBrowserListBoxRadListBox

Inherited Members ISelector.SelectedIndexIFrameworkElement.CastAs<T>()IFrameworkElement.Parent<T>()IFrameworkElement.SetProxy(bool)IFrameworkElement.SetUid(string)IFrameworkElement.SetFindInfo(VisualFindInfo)IFrameworkElement.SetXamlTag(string)IFrameworkElement.AssignReference(AutomationReference)IFrameworkElement.SetFocus()IFrameworkElement.GetAutomationProperty(string)IFrameworkElement.GetProperty<T>(string)IFrameworkElement.GetPropertyTypeSafe(string)IFrameworkElement.SetProperty(string, object)IFrameworkElement.ScrollToVisible()IFrameworkElement.UserIFrameworkElement.FindIFrameworkElement.WaitIFrameworkElement.NameIFrameworkElement.AbsoluteSiblingTagIndexIFrameworkElement.ActualWidthIFrameworkElement.ActualHeightIFrameworkElement.ToolTipTextIFrameworkElement.TextBlockContentIFrameworkElement.TextLiteralContentIFrameworkElement.ComputedVisibilityIFrameworkElement.UidITargetElement.Match(IFindExpression)ITargetElement.SetDepth(int)ITargetElement.AddChildNode(ITargetElement)ITargetElement.SetClosingTag(ITargetElement)ITargetElement.GetChildren()ITargetElement.GetParent()ITargetElement.GetHostParent()ITargetElement.SetParent(ITargetElement)ITargetElement.Refresh()ITargetElement.GetUniqueHashCode()ITargetElement.GetRectangle()ITargetElement.Capture()ITargetElement.CaptureImage()ITargetElement.GetStringPresentation()ITargetElement.TechnologyTypeITargetElement.DepthITargetElement.IsTestRegionITargetElement.ParsedElementITargetElement.Host

Properties

Items

Get the list of ListBox items.

Declaration

cs-api-definition
IList<IRadListBoxItem> Items { get; }

Property Value

IList<IRadListBoxItem>

Text

Gets the TextValue of the control

Declaration

cs-api-definition
string Text { get; }

Property Value

string

TypedText

Gets the TypedTextValue of the control

Declaration

cs-api-definition
string TypedText { get; }

Property Value

string

Methods

SelectItem(int)

Simulate user selecting an item. Note that only visible items can be selected as the control is virtualized.

Declaration

cs-api-definition
void SelectItem(int itemIndex)

Parameters

itemIndex

int

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

cs-api-definition
void SelectItem(int itemIndex, ListBoxSelectionModifierKey modifier)

Parameters

itemIndex

int

The index of the item to be selected.

modifier

ListBoxSelectionModifierKey

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

cs-api-definition
void SelectItem(string itemText)

Parameters

itemText

string

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

cs-api-definition
void SelectItem(string itemText, ListBoxSelectionModifierKey modifier)

Parameters

itemText

string

The text of the item to be selected.

modifier

ListBoxSelectionModifierKey

The modifier key that is used.