Class SplitButtonAutomationPeer
Provides UI Automation support for the SplitButtonAdv control.
Inheritance
Namespace: Syncfusion.Windows.Controls.Tools.AutomationPeer
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class SplitButtonAutomationPeer : FrameworkElementAutomationPeer
Constructors
SplitButtonAutomationPeer(SplitButtonAdv)
Initializes a new instance of the SplitButtonAutomationPeer class.
Declaration
public SplitButtonAutomationPeer(SplitButtonAdv control)
Parameters
| Type | Name | Description |
|---|---|---|
| SplitButtonAdv | control | The SplitButtonAdv control associated with this automation peer. |
Methods
GetAutomationControlTypeCore()
Returns the control type for the automation peer.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
| Type | Description |
|---|---|
| System.Windows.Automation.Peers.AutomationControlType | The System.Windows.Automation.Peers.AutomationControlType.SplitButton value indicating the control is a split button. |
GetAutomationIdCore()
Returns the automation ID for the associated SplitButtonAdv control.
Declaration
protected override string GetAutomationIdCore()
Returns
| Type | Description |
|---|---|
| System.String | A string representing the automation ID. If the base ID is null or empty, returns the control's name if available; otherwise, returns an empty 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()
Returns the help text associated with the automation peer.
Declaration
protected override string GetHelpTextCore()
Returns
| Type | Description |
|---|---|
| System.String | A string containing the help text provided by the base implementation. |
GetNameCore()
Returns the name of the automation peer.
Declaration
protected override string GetNameCore()
Returns
| Type | Description |
|---|---|
| System.String | A string representing the name. If the base name is null or empty, returns the label of the SplitButtonAdv if available; otherwise, returns an empty string. |