In This Article

RibbonGroupCollapsedButtonAutomationPeer Class

Exposes RibbonGroupCollapsedButton types to UI Automation.

public class RibbonGroupCollapsedButtonAutomationPeer : PopupButtonAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ButtonBaseAutomationPeer ButtonAutomationPeer PopupButtonAutomationPeer object

Constructors

RibbonGroupCollapsedButtonAutomationPeer(RibbonGroupCollapsedButton)

Initializes a new instance of the RibbonGroupCollapsedButtonAutomationPeer class.

public RibbonGroupCollapsedButtonAutomationPeer(RibbonGroupCollapsedButton owner)
Parameter Type Description
owner RibbonGroupCollapsedButton

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.

GetChildrenCore()

Gets the collection of child elements of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetChildren().

protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>:

A list of child AutomationPeer elements.

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.

Inherited Members