alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class TreeViewAutomationPeer

    Exposes TreeView to UI Automation

    Inheritance
    System.Object
    TreeViewAutomationPeer
    Implements
    System.Windows.Automation.Provider.ISelectionProvider
    Namespace: Syncfusion.UI.Xaml.TreeView.Automation.Peer
    Assembly: Syncfusion.SfTreeView.WPF.dll
    Syntax
    public class TreeViewAutomationPeer : FrameworkElementAutomationPeer, ISelectionProvider

    Constructors

    TreeViewAutomationPeer(SfTreeView)

    Initializes a new instance of the TreeViewAutomationPeer class.

    Declaration
    public TreeViewAutomationPeer(SfTreeView control)
    Parameters
    Type Name Description
    SfTreeView control

    The owner element.

    Properties

    CanSelectMultiple

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

    IsSelectionRequired

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

    Methods

    GetAutomationControlTypeCore()

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

    GetPattern(PatternInterface)

    Declaration
    public override object GetPattern(PatternInterface patternInterface)
    Parameters
    Type Name Description
    System.Windows.Automation.Peers.PatternInterface patternInterface
    Returns
    Type
    System.Object

    GetSelection()

    Declaration
    public IRawElementProviderSimple[] GetSelection()
    Returns
    Type
    System.Windows.Automation.Provider.IRawElementProviderSimple[]

    Implements

    System.Windows.Automation.Provider.ISelectionProvider
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved