Class DropDownMenuGroupAutomationPeer
Provides UI Automation support for the DropDownMenuGroup control.
Inheritance
Namespace: Syncfusion.Windows.Controls.Tools.AutomationPeer
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class DropDownMenuGroupAutomationPeer : FrameworkElementAutomationPeer
Constructors
DropDownMenuGroupAutomationPeer(DropDownMenuGroup)
Initializes a new instance of the DropDownMenuGroupAutomationPeer class for the specified DropDownMenuGroup control.
Declaration
public DropDownMenuGroupAutomationPeer(DropDownMenuGroup control)
Parameters
| Type | Name | Description |
|---|---|---|
| DropDownMenuGroup | control | The DropDownMenuGroup control to associate with this automation peer. |
Methods
GetAutomationControlTypeCore()
Gets the control type for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
| Type | Description |
|---|---|
| System.Windows.Automation.Peers.AutomationControlType | The System.Windows.Automation.Peers.AutomationControlType.Custom enumeration value. |
GetAutomationIdCore()
Declaration
protected override string GetAutomationIdCore()
Returns
| Type |
|---|
| System.String |
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()
Retrieves the help text associated with the DropDownMenuGroup control for UI Automation.
Declaration
protected override string GetHelpTextCore()
Returns
| Type | Description |
|---|---|
| System.String | A string containing the help text, as provided by the base implementation. |
GetNameCore()
Retrieves the name of the associated DropDownMenuGroup control for UI Automation. If the base name is null or empty, it returns the control's label as the name.
Declaration
protected override string GetNameCore()
Returns
| Type | Description |
|---|---|
| System.String | A string representing the name of the control, used by UI Automation clients. |