In This Article

RibbonGroupLauncherButtonAutomationPeer Class

Exposes RibbonGroupLauncherButton types to UI Automation.

public class RibbonGroupLauncherButtonAutomationPeer : ButtonAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ButtonBaseAutomationPeer ButtonAutomationPeer object

Constructors

RibbonGroupLauncherButtonAutomationPeer(RibbonGroupLauncherButton)

Initializes a new instance of the RibbonGroupLauncherButtonAutomationPeer class.

public RibbonGroupLauncherButtonAutomationPeer(RibbonGroupLauncherButton owner)
Parameter Type Description
owner RibbonGroupLauncherButton

The owner element.

Methods

GetAutomationIdCore()

Gets the System.Windows.Automation.AutomationProperties.AutomationId for the element associated with this ButtonBaseAutomationPeer. Called by GetAutomationId().

protected override string GetAutomationIdCore()

Returns

string:

The string that contains the System.Windows.Automation.AutomationProperties.AutomationId.

GetClassNameCore()

Gets the name of the control that is associated with this UI Automation peer.

protected override string GetClassNameCore()

Returns

string:

A string that contains "Button".

GetLocalizedControlTypeCore()

When overridden in a derived class, is called by GetLocalizedControlType().

protected override string GetLocalizedControlTypeCore()

Returns

string:

The type of the control.

GetNameCore()

Gets the name of the class of the element associated with this ButtonBaseAutomationPeer. Called by GetName().

protected override string GetNameCore()

Returns

string:

A string that contains the class name, minus the accelerator key.