alexa
menu

WinForms

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

    Show / Hide Table of Contents

    Class ComboBoxAdvAutomationPeer

    Provides UI Automation support for the ComboBoxAdv control.

    Inheritance
    System.Object
    ComboBoxAdvAutomationPeer
    Namespace: Syncfusion.Windows.Shared
    Assembly: Syncfusion.Shared.WPF.dll
    Syntax
    public class ComboBoxAdvAutomationPeer : SelectorAutomationPeer

    Constructors

    ComboBoxAdvAutomationPeer(ComboBoxAdv)

    Initializes a new instance of the ComboBoxAdvAutomationPeer class for the specified ComboBoxAdv control.

    Declaration
    public ComboBoxAdvAutomationPeer(ComboBoxAdv control)
    Parameters
    Type Name Description
    ComboBoxAdv control

    Methods

    CreateItemAutomationPeer(Object)

    Creates a new automation peer for an item within the ComboBoxAdv control.

    Declaration
    protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
    Parameters
    Type Name Description
    System.Object item

    The item for which to create an automation peer.

    Returns
    Type Description
    System.Windows.Automation.Peers.ItemAutomationPeer

    An System.Windows.Automation.Peers.ItemAutomationPeer for the specified item.

    GetAutomationControlTypeCore()

    Gets the control type for the ComboBoxAdv item.

    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 ListItem.

    GetAutomationIdCore()

    Retrieves the automation ID for the associated ComboBoxAdv control. If the base automation ID is null or empty, it falls back to the control's name or a default value.

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

    A string representing the automation ID used by UI Automation clients.

    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.

    GetNameCore()

    Retrieves the name of the ComboBoxAdv item for UI Automation.

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

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

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