Class RibbonAutomationPeer
Class that provides UI Automation support of RibbonAutomationPeer.
Inheritance
Namespace: Syncfusion.Windows.Controls.Tools.AutomationPeer
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class RibbonAutomationPeer : FrameworkElementAutomationPeer
Constructors
RibbonAutomationPeer(Ribbon)
Initializes a new instance of the RibbonAutomationPeer class.
Declaration
public RibbonAutomationPeer(Ribbon owner)
Parameters
| Type | Name | Description |
|---|---|---|
| Ribbon | owner | An instance of Ribbon class |
Methods
GetAutomationControlTypeCore()
Gets the control type for the UIElement that is associated with this UIElementAutomationPeer.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
| Type | Description |
|---|---|
| System.Windows.Automation.Peers.AutomationControlType | The Custom enumeration value. |
GetChildrenCore()
Retrieves the child automation peers for the Ribbon control.
Declaration
protected override List<AutomationPeer> GetChildrenCore()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> | A list of Syncfusion.Windows.Controls.Tools.AutomationPeer instances representing the direct child elements of the Ribbon (backstage button/application menu, tabs, and ribbon bars of the selected tab), making them accessible to UI Automation clients. Nested elements such as the items inside each ribbon bar are exposed by their own parent peers (RibbonTabAutomationPeer and RibbonBarAutomationPeer) so the automation hierarchy matches the visual hierarchy. |
GetClassNameCore()
Gets the name of the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetClassName.
Declaration
protected override string GetClassNameCore()
Returns
| Type | Description |
|---|---|
| System.String | An System.String.Empty string. |
GetHelpTextCore()
Provides the peer's behavior when a UI Automation client calls GetHelpText or an equivalent UI Automation client API.
Declaration
protected override string GetHelpTextCore()
Returns
| Type | Description |
|---|---|
| System.String | The help text. |
GetItemStatusCore()
Retrieves the status string for the item if the owner is a Ribbon.
Declaration
protected override string GetItemStatusCore()
Returns
| Type | Description |
|---|---|
| System.String | A formatted string containing various properties of the Ribbon,
including Quick Access Toolbar (QAT) settings, ribbon state, visual customization,
backstage configuration, and selected tab information. Returns |
GetNameCore()
Provides the peer's behavior when a UI Automation client calls GetName or an equivalent UI Automation client API.
Declaration
protected override string GetNameCore()
Returns
| Type | Description |
|---|---|
| System.String | The name as used by assistive technoloGetClassNameCoreies and other UI Automation clients. |