RibbonItemsControlAutomationPeer Class
Exposes ribbon control types to UI Automation.
public class RibbonItemsControlAutomationPeer : ItemsControlAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ItemsControlAutomationPeer object
Constructors
RibbonItemsControlAutomationPeer(ItemsControl)
Initializes an instance of the RibbonItemsControlAutomationPeer
class.
public RibbonItemsControlAutomationPeer(ItemsControl owner)
Parameter | Type | Description |
---|---|---|
owner | ItemsControl | The owner of the automation peer. |
Methods
CreateItemAutomationPeer(object)
When overridden in a derived class, creates a new instance of the ItemAutomationPeer for a data item in the Items collection of this ItemsControl.
protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameter | Type | Description |
---|---|---|
item | object | The data item that is associated with this ItemAutomationPeer. |
Returns
GetAutomationControlTypeCore()
Gets the AutomationControlType for the element that is associated with the UI Automation peer.
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
- AutomationControlType:
A AutomationControlType indicating the control type.
GetAutomationIdCore()
Gets the automation ID for the element associated with this UI Automation peer.
protected override string GetAutomationIdCore()
Returns
- string:
The automation ID for the element associated with this UI Automation peer.
GetClassNameCore()
Gets a human readable name that, in addition to AutomationControlType, differentiates the control represented by this AutomationPeer.
GetNameCore()
Gets the text string describing the element that is associated with this automation peer.