Class TreeViewAutomationPeer
Exposes TreeView to UI Automation
Inheritance
System.Object
TreeViewAutomationPeer
Implements
Microsoft.UI.Xaml.Automation.Provider.ISelectionProvider
Assembly: Syncfusion.TreeView.WinUI.dll
Syntax
public class TreeViewAutomationPeer : FrameworkElementAutomationPeer, ISelectionProvider
Constructors
TreeViewAutomationPeer(SfTreeView)
Declaration
public TreeViewAutomationPeer(SfTreeView control)
Parameters
Type |
Name |
Description |
SfTreeView |
control |
The owner element.
|
Properties
CanSelectMultiple
Declaration
public bool CanSelectMultiple { get; }
Property Value
IsSelectionRequired
Declaration
public bool IsSelectionRequired { get; }
Property Value
Methods
GetAutomationControlTypeCore()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type |
Microsoft.UI.Xaml.Automation.Peers.AutomationControlType |
GetChildrenCore()
Declaration
protected override IList<AutomationPeer> GetChildrenCore()
Returns
Type |
System.Collections.Generic.IList<Microsoft.UI.Xaml.Automation.Peers.AutomationPeer> |
GetPatternCore(PatternInterface)
Declaration
protected override object GetPatternCore(PatternInterface patternInterface)
Parameters
Type |
Name |
Description |
Microsoft.UI.Xaml.Automation.Peers.PatternInterface |
patternInterface |
|
Returns
GetSelection()
Declaration
public IRawElementProviderSimple[] GetSelection()
Returns
Type |
Microsoft.UI.Xaml.Automation.Provider.IRawElementProviderSimple[] |
Implements
Microsoft.UI.Xaml.Automation.Provider.ISelectionProvider