In This Article

RibbonComboBoxBaseAutomationPeer Class

Exposes ribbon control types to UI Automation.

public class RibbonComboBoxBaseAutomationPeer : ComboBoxAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ItemsControlAutomationPeer SelectorAutomationPeer ComboBoxAutomationPeer object

Constructors

RibbonComboBoxBaseAutomationPeer(ComboBoxBase)

Initializes an instance of the RibbonComboBoxBaseAutomationPeer class.

public RibbonComboBoxBaseAutomationPeer(ComboBoxBase owner)
Parameter Type Description
owner ComboBoxBase

The owner of the automation peer.

Methods

GetAutomationIdCore()

Gets the automation ID for the element associated with this UI Automation peer.

protected override string GetAutomationIdCore()

Returns

string:

The automation ID for the element associated with this UI Automation peer.

GetClassNameCore()

Gets a human readable name that, in addition to AutomationControlType, differentiates the control represented by this AutomationPeer.

protected override string GetClassNameCore()

Returns

string:

The string that contains the name.

GetNameCore()

Gets the text string describing the element that is associated with this automation peer.

protected override string GetNameCore()

Returns

string:

The string that contains the name.