Interface
IRadComboBox

Represents the RadComboBox control wrapper for SL/Wpf interface.

Definition

Namespace:Telerik.WebAii.Controls.Xaml

Assembly:Telerik.WebAii.Controls.Xaml.dll

Syntax:

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

Derived Classes: RadComboBoxRadRibbonComboBoxRadComboBoxRadRibbonComboBox

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

ClearButton

Gets the button in the dropdown that clears the selection.

Declaration

cs-api-definition
IRadButton ClearButton { get; }

Property Value

IRadButton

EditableTextBoxElement

Gets the editable textbox element.

Declaration

cs-api-definition
FrameworkElement EditableTextBoxElement { get; }

Property Value

FrameworkElement

IsDropDownOpen

Gets whether the drop down is open.

Declaration

cs-api-definition
bool IsDropDownOpen { get; }

Property Value

bool

IsEditable

Gets whether the ComboBox is editable.

Declaration

cs-api-definition
bool IsEditable { get; }

Property Value

bool

IsReadOnly

Gets whether the ComboBox is read only.

Declaration

cs-api-definition
bool IsReadOnly { get; }

Property Value

bool

ItemElements

Gets a list if of ComboBoxItem elements.

Declaration

cs-api-definition
IList<IRadComboBoxItem> ItemElements { get; }

Property Value

IList<IRadComboBoxItem>

Text

Get the ComboBox text.

Declaration

cs-api-definition
string Text { get; }

Property Value

string

Methods

SelectItem(int, bool)

Simulate user opening the drop down depending on 'openDropDown' argument and selecting an item.

Declaration

cs-api-definition
void SelectItem(int itemIndex, bool openDropDown)

Parameters

itemIndex

int

The index of the item to be selected.

openDropDown

bool

Open the drop down first.

SelectItem(string, bool)

Simulate user opening the drop down depending on 'openDropDown' argument and selecting the item with the given text.

Declaration

cs-api-definition
void SelectItem(string itemText, bool openDropDown)

Parameters

itemText

string

The text of the item to be selected.

openDropDown

bool

Open the drop down first.

ToggleDropDown()

Simulates user clicking on the drop down button to open/close it.

Declaration

cs-api-definition
void ToggleDropDown()

TypeText(string)

Simulate user typing in the RadComboBox.

Declaration

cs-api-definition
void TypeText(string text)

Parameters

text

string

The text typed.