Class ComboBoxItemAdvAutomationPeer
Provides UI Automation support for the ComboBoxItemAdv control.
Inheritance
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class ComboBoxItemAdvAutomationPeer : FrameworkElementAutomationPeer
Constructors
ComboBoxItemAdvAutomationPeer(ComboBoxItemAdv)
Initializes a new instance of the ComboBoxItemAdvAutomationPeer class for the specified ComboBoxItemAdv control.
Declaration
public ComboBoxItemAdvAutomationPeer(ComboBoxItemAdv control)
Parameters
| Type | Name | Description |
|---|---|---|
| ComboBoxItemAdv | control | The ComboBoxItemAdv 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 ComboBoxItemAdv control for UI Automation. If the base help text is null or empty, returns a default identifier string.
Declaration
protected override string GetHelpTextCore()
Returns
| Type | Description |
|---|---|
| System.String | A string containing the help text used by UI Automation clients. |
GetNameCore()
Retrieves the name of the associated ComboBoxItemAdv control for UI Automation. If the item is selected, the name may reflect its selection state or label.
Declaration
protected override string GetNameCore()
Returns
| Type | Description |
|---|---|
| System.String | A string representing the name of the control, used by UI Automation clients. |