Class TreeGridAutomationPeer
Represents the class that exposes the SfTreeGrid to UI Automation.
Inheritance
Namespace: Syncfusion.UI.Xaml.Grid.AutomationPeers
Assembly: Syncfusion.SfGrid.WPF.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 |
---|---|
System.Windows.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. |
GetItemStatusCore()
Gets a string that communicates the visual status of the SfTreeGrid that is associated with this TreeGridAutomationPeer.
Declaration
protected override string GetItemStatusCore()
Returns
Type | Description |
---|---|
System.String | Returns a string that communicates the visual status of the SfTreeGrid. |
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. |