RibbonGroupAutomationPeer Class
Exposes RibbonGroup types to UI Automation.
public class RibbonGroupAutomationPeer : FrameworkElementAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer object
Constructors
RibbonGroupAutomationPeer(RibbonGroup)
Initializes a new instance of the RibbonGroupAutomationPeer class.
public RibbonGroupAutomationPeer(RibbonGroup owner)
Parameter | Type | Description |
---|---|---|
owner | RibbonGroup | 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.
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().
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().
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.
GetOrientationCore()
Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer is laid out in a specific direction. This method is called by GetOrientation().
protected override AutomationOrientation GetOrientationCore()
Returns
- AutomationOrientation:
The None enumeration value.
GetPattern(PatternInterface)
Gets the control pattern for the UIElement that is associated with this UIElementAutomationPeer.
public override object GetPattern(PatternInterface patternInterface)
Parameter | Type | Description |
---|---|---|
patternInterface | PatternInterface | A value from the enumeration. |
Returns
- object:
An object that implements the ISynchronizedInputProvider interface if
patternInterface
is SynchronizedInput; otherwise,null
.