Class MenuButtonAutomationPeer
Class that provides UI Automation support of menu button.
Inheritance
System.Object
MenuButtonAutomationPeer
Namespace: Syncfusion.Windows.Controls.Tools.AutomationPeer
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class MenuButtonAutomationPeer : FrameworkElementAutomationPeer
Constructors
MenuButtonAutomationPeer(MenuButton)
MenuButtonAutomationPeer Constructor
Declaration
public MenuButtonAutomationPeer(MenuButton owner)
Parameters
| Type | Name | Description |
|---|---|---|
| MenuButton | owner | Menubutton instance |
Methods
GetAutomationControlTypeCore()
Provides the peer's behavior when a UI Automation client calls GetAutomationControlType or an equivalent UI Automation client API.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
| Type | Description |
|---|---|
| System.Windows.Automation.Peers.AutomationControlType | The control type. |
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 technologies and other UI Automation clients. |