menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ComboBoxAutomationPeer - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ComboBoxAutomationPeer

    Exposes SfComboBox control to UI Automation.

    Inheritance
    System.Object
    ComboBoxAutomationPeer
    Implements
    Microsoft.UI.Xaml.Automation.Provider.IExpandCollapseProvider
    Microsoft.UI.Xaml.Automation.Provider.ISelectionProvider
    Microsoft.UI.Xaml.Automation.Provider.IValueProvider
    Namespace: Syncfusion.UI.Xaml.Automation.Peers
    Assembly: Syncfusion.Editors.WinUI.dll
    Syntax
    public class ComboBoxAutomationPeer : FrameworkElementAutomationPeer, IExpandCollapseProvider, ISelectionProvider, IValueProvider

    Constructors

    ComboBoxAutomationPeer(SfComboBox)

    Initializes a new instance of the ComboBoxAutomationPeer class.

    Declaration
    public ComboBoxAutomationPeer(SfComboBox control)
    Parameters
    Type Name Description
    SfComboBox control

    The SfComboBox control.

    Properties

    CanSelectMultiple

    Declaration
    public bool CanSelectMultiple { get; }
    Property Value
    Type
    System.Boolean

    ExpandCollapseState

    Declaration
    public ExpandCollapseState ExpandCollapseState { get; }
    Property Value
    Type
    Microsoft.UI.Xaml.Automation.ExpandCollapseState

    IsReadOnly

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type
    System.Boolean

    IsSelectionRequired

    Declaration
    public bool IsSelectionRequired { get; }
    Property Value
    Type
    System.Boolean

    Methods

    Collapse()

    Declaration
    public void Collapse()

    Expand()

    Declaration
    public void Expand()

    GetAutomationControlTypeCore()

    Declaration
    protected override AutomationControlType GetAutomationControlTypeCore()
    Returns
    Type
    Microsoft.UI.Xaml.Automation.Peers.AutomationControlType

    GetClassNameCore()

    Declaration
    protected override string GetClassNameCore()
    Returns
    Type
    System.String

    GetNameCore()

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

    GetPatternCore(PatternInterface)

    Declaration
    protected override object GetPatternCore(PatternInterface patternInterface)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Automation.Peers.PatternInterface patternInterface
    Returns
    Type
    System.Object

    GetSelection()

    Declaration
    public IRawElementProviderSimple[] GetSelection()
    Returns
    Type
    Microsoft.UI.Xaml.Automation.Provider.IRawElementProviderSimple[]

    SetValue(String)

    Declaration
    public void SetValue(string value)
    Parameters
    Type Name Description
    System.String value

    Implements

    Microsoft.UI.Xaml.Automation.Provider.IExpandCollapseProvider
    Microsoft.UI.Xaml.Automation.Provider.ISelectionProvider
    Microsoft.UI.Xaml.Automation.Provider.IValueProvider
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved