RibbonBackstageTabItemAutomationPeer Class
Exposes RibbonBackstageTabItem types to UI Automation.
public class RibbonBackstageTabItemAutomationPeer : TabItemWrapperAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer TabItemWrapperAutomationPeer object
Constructors
RibbonBackstageTabItemAutomationPeer(RibbonBackstageTabItem)
Initializes a new instance of the RibbonBackstageTabItemAutomationPeer class.
public RibbonBackstageTabItemAutomationPeer(RibbonBackstageTabItem owner)
Parameter | Type | Description |
---|---|---|
owner | RibbonBackstageTabItem | The owner element. |
Methods
GetAutomationIdCore()
Gets the string that uniquely identifies the FrameworkElement that is associated with this FrameworkElementAutomationPeer. Called by GetAutomationId().
protected override string GetAutomationIdCore()
Returns
- string:
The automation identifier for the element associated with the FrameworkElementAutomationPeer, or Empty if there isn't an automation identifier.
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().
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.