In This Article

RibbonTextBoxBaseAutomationPeer Class

Exposes ribbon control types to UI Automation.

public class RibbonTextBoxBaseAutomationPeer : TextBoxAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer TextAutomationPeer TextBoxAutomationPeer object

Constructors

RibbonTextBoxBaseAutomationPeer(TextBoxBase)

Initializes an instance of the RibbonTextBoxBaseAutomationPeer class.

public RibbonTextBoxBaseAutomationPeer(TextBoxBase owner)
Parameter Type Description
owner TextBoxBase

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.