RibbonBackstageAutomationPeer Class
Exposes RibbonBackstage types to UI Automation.
public class RibbonBackstageAutomationPeer : TabControlAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ItemsControlAutomationPeer SelectorAutomationPeer TabControlAutomationPeer object
Constructors
RibbonBackstageAutomationPeer(RibbonBackstage)
Initializes a new instance of the RibbonBackstageAutomationPeer class.
public RibbonBackstageAutomationPeer(RibbonBackstage owner)
Parameter | Type | Description |
---|---|---|
owner | RibbonBackstage | The owner element. |
Methods
CreateItemAutomationPeer(object)
Creates a new TabItemAutomationPeer.
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameter | Type | Description |
---|---|---|
item | object | The TabItem that is associated with the new TabItemAutomationPeer. |
Returns
- ItemAutomationPeer:
The created TabItemAutomationPeer object.
GetChildrenCore()
Gets the collection of child elements of the ItemsControl that is associated with this ItemsControlAutomationPeer. This method is called by GetChildren().
protected override List<AutomationPeer> GetChildrenCore()
Returns
- List<AutomationPeer>:
The collection of child elements.
GetClassNameCore()
Gets the name of the TabItem that is associated with the new TabItemAutomationPeer. This method is called by GetClassName().
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by GetLocalizedControlType().