In This Article

RibbonQuickAccessToolBarAutomationPeer Class

Exposes RibbonQuickAccessToolBar types to UI Automation.

public class RibbonQuickAccessToolBarAutomationPeer : FrameworkElementAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer object

Constructors

RibbonQuickAccessToolBarAutomationPeer(RibbonQuickAccessToolBar)

Initializes a new instance of the RibbonQuickAccessToolBarAutomationPeer class.

public RibbonQuickAccessToolBarAutomationPeer(RibbonQuickAccessToolBar owner)
Parameter Type Description
owner RibbonQuickAccessToolBar

The owner element.

Methods

GetAutomationControlTypeCore()

Gets the control type for the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetAutomationControlType().

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The Custom enumeration value.

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.

GetClassNameCore()

Gets the name of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetClassName().

protected override string GetClassNameCore()

Returns

string:

An Empty string.

GetLocalizedControlTypeCore()

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

protected override string GetLocalizedControlTypeCore()

Returns

string:

The type of the control.