RibbonControlGroupAutomationPeer Class
Exposes RibbonControlGroup types to UI Automation.
public class RibbonControlGroupAutomationPeer : FrameworkElementAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer object
Constructors
RibbonControlGroupAutomationPeer(RibbonControlGroup)
Initializes a new instance of the RibbonControlGroupAutomationPeer class.
public RibbonControlGroupAutomationPeer(RibbonControlGroup owner)
Parameter | Type | Description |
---|---|---|
owner | RibbonControlGroup | 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.
GetClassNameCore()
Gets the name of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetClassName().
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by GetLocalizedControlType().
GetNameCore()
Gets the text label of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetName().
protected override string GetNameCore()
Returns
- string:
The text label of the element that is associated with this automation peer.