Class TreeGridAutomationPeer
Represents the class that exposes the SfTreeGrid to UI Automation.
Inheritance
System.Object
TreeGridAutomationPeer
Namespace: Syncfusion.UI.Xaml.Automation.Peers
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class TreeGridAutomationPeer : FrameworkElementAutomationPeer
Constructors
TreeGridAutomationPeer(SfTreeGrid)
Gets the text label of SfTreeGrid that is associated with TreeGridAutomationPeer.
Declaration
public TreeGridAutomationPeer(SfTreeGrid treeGrid)
Parameters
Type | Name | Description |
---|---|---|
SfTreeGrid | treeGrid | Specifies the SfTreeGrid. |
Methods
GetAutomationControlTypeCore()
Gets the control type for the SfTreeGrid that is associated with this TreeGridAutomationPeer.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type | Description |
---|---|
Microsoft.UI.Xaml.Automation.Peers.AutomationControlType | Returns the control type for the SfTreeGrid as Custom. |
GetClassNameCore()
Gets the name of the SfTreeGrid that is associated with this TreeGridAutomationPeer.
Declaration
protected override string GetClassNameCore()
Returns
Type | Description |
---|---|
System.String | Returns the name of the SfTreeGrid. |
GetLocalizedControlTypeCore()
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
Type |
---|
System.String |
GetNameCore()
Gets the text label of SfTreeGrid that is associated with TreeGridAutomationPeer.
Declaration
protected override string GetNameCore()
Returns
Type | Description |
---|---|
System.String | Returns the text label of SfTreeGrid. |
IsEnabledCore()
Gets a value that indicates whether the SfTreeGrid that is associated with this TreeGridAutomationPeer can accept keyboard focus.
Declaration
protected override bool IsEnabledCore()
Returns
Type | Description |
---|---|
System.Boolean | Returns true. |