Class
RadComboBoxAutomationPeer

The AutomationPeer associated with the RadComboBox class.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

cs-api-definition
public class RadComboBoxAutomationPeer : SelectorAutomationPeer, IValueProvider, IExpandCollapseProvider

Inheritance: objectRadComboBoxAutomationPeer

Derived Classes: RibbonComboBoxAutomationPeer

Implements: IExpandCollapseProviderIValueProvider

Constructors

RadComboBoxAutomationPeer(RadComboBox)

Initializes a new instance of the RadComboBoxAutomationPeer class.

Declaration

cs-api-definition
public RadComboBoxAutomationPeer(RadComboBox owner)

Parameters

owner

RadComboBox

The owner.

Properties

CanSelectMultiple

Gets a value that specifies whether the UI Automation provider allows more than one child element to be selected concurrently.

Declaration

cs-api-definition
public bool CanSelectMultiple { get; }

Property Value

bool

Methods

CreateItemAutomationPeer(object)

When overridden in a derived class, creates a new instance of the ItemAutomationPeer for a data item in the collection of this .

Declaration

cs-api-definition
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)

Parameters

item

object

The data item that is associated with this ItemAutomationPeer.

Returns

ItemAutomationPeer

An object that exposes the data item to UI automation.

GetAutomationControlTypeCore()

Returns the control type for the UIElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

A value of the enumeration.

GetChildrenCore()

Gets the collection of child elements of the that is associated with this ItemsControlAutomationPeer.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>

The collection of child elements.

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetPattern(PatternInterface)

Gets the pattern.

Declaration

cs-api-definition
public override object GetPattern(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

The pattern.

Returns

object

GetSelection()

Retrieves a UI Automation provider for each child element that is selected.

Declaration

cs-api-definition
public IRawElementProviderSimple[] GetSelection()

Returns

IRawElementProviderSimple[]

IsControlElementCore()

Returns a value that indicates whether the element that is associated with this is understood by the end user as interactive. Optionally, the user might understand the element as contributing to the logical structure of the control in the GUI. This method is called by .

Declaration

cs-api-definition
protected override bool IsControlElementCore()

Returns

bool

True if the element is interactive; otherwise, false.