Class
RadComboBoxItemAutomationPeer

The AutomationPeer associated with the RadComboBoxItem class.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

cs-api-definition
public class RadComboBoxItemAutomationPeer : SelectorItemAutomationPeer, ISelectionItemProvider, IScrollItemProvider

Inheritance: objectRadComboBoxItemAutomationPeer

Derived Classes: RibbonComboBoxItemAutomationPeer

Implements: IScrollItemProviderISelectionItemProvider

Constructors

RadComboBoxItemAutomationPeer(object, RadComboBoxAutomationPeer)

Initializes a new instance of the RadComboBoxItemAutomationPeer class.

Declaration

cs-api-definition
public RadComboBoxItemAutomationPeer(object item, RadComboBoxAutomationPeer radComboBoxAutomationPeer)

Parameters

item

object

radComboBoxAutomationPeer

RadComboBoxAutomationPeer

Properties

IsSelected

Gets a value that indicates whether associated RadComboBoxItem is selected or not.

Declaration

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

Property Value

bool

SelectionContainer

Gets the IRawElementProviderSimple for the RadComboBoxItemAutomationPeer.

Declaration

cs-api-definition
public IRawElementProviderSimple SelectionContainer { get; }

Property Value

IRawElementProviderSimple

Methods

AddToSelection()

Adds the current element to the collection of selected items.

Declaration

cs-api-definition
public void AddToSelection()

GetAutomationControlTypeCore()

Gets the control type for this RadComboBoxItemAutomationPeer.

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

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

GetLocalizedControlTypeCore()

When overridden in a derived class, is called by .

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

The type of the control.

GetNameCore()

Returns the core name for the RadComboboxItemAutomationPeer.

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

GetPattern(PatternInterface)

Gets the control pattern for this RadComboBoxItemAutomationPeer.

Declaration

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

Parameters

patternInterface

PatternInterface

Returns

object

RemoveFromSelection()

Removes the current element to the collection of selected items.

Declaration

cs-api-definition
public void RemoveFromSelection()

ScrollIntoView()

Scrolls the content area of a container object in order to display the control within the visible region (viewport) of the container.

Declaration

cs-api-definition
public void ScrollIntoView()

Select()

Deselects any selected items and then selects the current element.

Declaration

cs-api-definition
public void Select()