Class TreeViewItemAutomationPeer
Exposes TreeViewItem to UI Automation
Inheritance
System.Object
TreeViewItemAutomationPeer
Implements
Microsoft.UI.Xaml.Automation.Provider.ISelectionItemProvider
Microsoft.UI.Xaml.Automation.Provider.IExpandCollapseProvider
Assembly: Syncfusion.TreeView.WinUI.dll
Syntax
public class TreeViewItemAutomationPeer : FrameworkElementAutomationPeer, ISelectionItemProvider, IExpandCollapseProvider
Constructors
TreeViewItemAutomationPeer(TreeViewItem)
Declaration
public TreeViewItemAutomationPeer(TreeViewItem control)
Parameters
Type |
Name |
Description |
TreeViewItem |
control |
The owner element.
|
Properties
ExpandCollapseState
Declaration
public ExpandCollapseState ExpandCollapseState { get; }
Property Value
Type |
Microsoft.UI.Xaml.Automation.ExpandCollapseState |
IsSelected
Declaration
public bool IsSelected { get; }
Property Value
SelectionContainer
Declaration
public IRawElementProviderSimple SelectionContainer { get; }
Property Value
Type |
Microsoft.UI.Xaml.Automation.Provider.IRawElementProviderSimple |
Methods
AddToSelection()
Declaration
public void AddToSelection()
Collapse()
Declaration
Expand()
Declaration
GetAutomationControlTypeCore()
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type |
Microsoft.UI.Xaml.Automation.Peers.AutomationControlType |
GetLevelCore()
Declaration
protected override int GetLevelCore()
Returns
GetNameCore()
Declaration
protected override string GetNameCore()
Returns
GetPatternCore(PatternInterface)
Declaration
protected override object GetPatternCore(PatternInterface patternInterface)
Parameters
Type |
Name |
Description |
Microsoft.UI.Xaml.Automation.Peers.PatternInterface |
patternInterface |
|
Returns
GetPositionInSetCore()
Declaration
protected override int GetPositionInSetCore()
Returns
GetSizeOfSetCore()
Declaration
protected override int GetSizeOfSetCore()
Returns
RemoveFromSelection()
Declaration
public void RemoveFromSelection()
Select()
Declaration
Implements
Microsoft.UI.Xaml.Automation.Provider.ISelectionItemProvider
Microsoft.UI.Xaml.Automation.Provider.IExpandCollapseProvider