New to Telerik UI for WPFStart a free 30-day trial

The AutomationPeer associated with the RadComboBoxItem class.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
public class RadComboBoxItemAutomationPeer : SelectorItemAutomationPeer, ISelectionItemProvider, IScrollItemProvider

Inheritance: objectRadComboBoxItemAutomationPeer

Derived Classes: RibbonComboBoxItemAutomationPeer

Implements: IScrollItemProviderISelectionItemProvider

Constructors

Initializes a new instance of the RadComboBoxItemAutomationPeer class.

C#
public RadComboBoxItemAutomationPeer(object item, RadComboBoxAutomationPeer radComboBoxAutomationPeer)
Parameters:itemobjectradComboBoxAutomationPeerRadComboBoxAutomationPeer

Properties

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

C#
public bool IsSelected { get; }

SelectionContainer

IRawElementProviderSimple

Gets the IRawElementProviderSimple for the RadComboBoxItemAutomationPeer.

C#
public IRawElementProviderSimple SelectionContainer { get; }

Methods

Adds the current element to the collection of selected items.

C#
public void AddToSelection()

Gets the control type for this RadComboBoxItemAutomationPeer.

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

C#
protected override string GetClassNameCore()
Returns:

string

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string

When overridden in a derived class, is called by .

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string

The type of the control.

Returns the core name for the RadComboboxItemAutomationPeer.

C#
protected override string GetNameCore()
Returns:

string

Gets the control pattern for this RadComboBoxItemAutomationPeer.

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterfaceReturns:

object

Removes the current element to the collection of selected items.

C#
public void RemoveFromSelection()

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

C#
public void ScrollIntoView()

Deselects any selected items and then selects the current element.

C#
public void Select()