RibbonGalleryAutomationPeer Class
Exposes RibbonGallery types to UI Automation.
public class RibbonGalleryAutomationPeer : BarGalleryBaseAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ItemsControlAutomationPeer SelectorAutomationPeer BarGalleryBaseAutomationPeer object
Constructors
RibbonGalleryAutomationPeer(RibbonGallery)
Initializes a new instance of the RibbonGalleryAutomationPeer class.
public RibbonGalleryAutomationPeer(RibbonGallery owner)
Parameter | Type | Description |
---|---|---|
owner | RibbonGallery | The owner element. |
Methods
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.
GetHelpTextCore()
Gets the string that describes the functionality of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetHelpText().
protected override string GetHelpTextCore()
Returns
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by GetLocalizedControlType().
GetPattern(PatternInterface)
Gets the control pattern for the Selector that is associated with this SelectorAutomationPeer.
public override object GetPattern(PatternInterface patternInterface)
Parameter | Type | Description |
---|---|---|
patternInterface | PatternInterface | A value in the enumeration. |