menu

WinUI

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

    Show / Hide Table of Contents

    Class ComboBoxItemAutomationPeer

    Exposes SfComboBoxItem to UI Automation.

    Inheritance
    System.Object
    ComboBoxItemAutomationPeer
    Implements
    Microsoft.UI.Xaml.Automation.Provider.ISelectionItemProvider
    Namespace: Syncfusion.UI.Xaml.Automation.Peers
    Assembly: Syncfusion.Editors.WinUI.dll
    Syntax
    public class ComboBoxItemAutomationPeer : FrameworkElementAutomationPeer, ISelectionItemProvider

    Constructors

    ComboBoxItemAutomationPeer(SfComboBoxItem)

    Initializes a new instance of the ComboBoxItemAutomationPeer class.

    Declaration
    public ComboBoxItemAutomationPeer(SfComboBoxItem control)
    Parameters
    Type Name Description
    SfComboBoxItem control

    The SfComboBoxItem control.

    Properties

    IsSelected

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

    SelectionContainer

    Gets the UI Automation provider that implements ISelectionProvider and acts as the container for the calling object.

    Declaration
    public IRawElementProviderSimple SelectionContainer { get; }
    Property Value
    Type Description
    Microsoft.UI.Xaml.Automation.Provider.IRawElementProviderSimple

    The UI Automation provider.

    Methods

    AddToSelection()

    Declaration
    public void AddToSelection()

    GetAutomationControlTypeCore()

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

    GetClassNameCore()

    Declaration
    protected override string GetClassNameCore()
    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

    RemoveFromSelection()

    Declaration
    public void RemoveFromSelection()

    Select()

    Declaration
    public void Select()

    Implements

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