alexa
menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class DropDownButtonAdvAutomationPeer

    Provides UI Automation support for the DropDownButtonAdv control.

    Inheritance
    System.Object
    DropDownButtonAdvAutomationPeer
    Namespace: Syncfusion.Windows.Controls.Tools.AutomationPeer
    Assembly: Syncfusion.Shared.WPF.dll
    Syntax
    public class DropDownButtonAdvAutomationPeer : FrameworkElementAutomationPeer

    Constructors

    DropDownButtonAdvAutomationPeer(DropDownButtonAdv)

    Initializes a new instance of the DropDownButtonAdvAutomationPeer class for the specified DropDownButtonAdv control.

    Declaration
    public DropDownButtonAdvAutomationPeer(DropDownButtonAdv control)
    Parameters
    Type Name Description
    DropDownButtonAdv control

    The DropDownButtonAdv control to associate with this automation peer.

    Methods

    GetAutomationControlTypeCore()

    Gets the control type for the associated DropDownButtonAdv control.

    Declaration
    protected override AutomationControlType GetAutomationControlTypeCore()
    Returns
    Type Description
    System.Windows.Automation.Peers.AutomationControlType

    An System.Windows.Automation.Peers.AutomationControlType value that identifies the control as a Button.

    GetAutomationIdCore()

    Returns the automation ID for the associated DropDownButtonAdv control. If the base automation ID is null or empty, it falls back to the control's name.

    Declaration
    protected override string GetAutomationIdCore()
    Returns
    Type Description
    System.String

    A string representing the automation ID, or the control's name if no ID is set.

    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()

    Gets the help text associated with the DropDownButtonAdv 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()

    Gets the name of the associated DropDownButtonAdv control for UI Automation. If the base name is null or empty, it falls back to the control's label.

    Declaration
    protected override string GetNameCore()
    Returns
    Type Description
    System.String

    A string representing the name of the control, used by UI Automation clients.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved