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