Class SfDataGridAutomationPeer
Represents the class that exposes the SfDataGrid to UI Automation.
Inheritance
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class SfDataGridAutomationPeer : FrameworkElementAutomationPeer
Constructors
SfDataGridAutomationPeer(SfDataGrid)
Initializes a new instance of the System.Windows.Automation.Peers.DataGridAutomationPeer class.
Declaration
public SfDataGridAutomationPeer(SfDataGrid dataGrid)
Parameters
Type | Name | Description |
---|---|---|
SfDataGrid | dataGrid | Specifies the SfDataGrid |
Methods
GetAutomationControlTypeCore()
Gets the control type for the SfDataGrid that is associated with this System.Windows.Automation.Peers.DataGridAutomationPeer.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type | Description |
---|---|
System.Windows.Automation.Peers.AutomationControlType | Returns the control type for the SfDataGrid as Custom. |
GetClassNameCore()
Gets the name of the SfDataGrid that is associated with this System.Windows.Automation.Peers.DataGridAutomationPeer.
Declaration
protected override string GetClassNameCore()
Returns
Type | Description |
---|---|
System.String | Returns the name of the SfDataGrid. |
GetItemStatusCore()
Gets a string that communicates the visual status of the SfDataGrid that is associated with this System.Windows.Automation.Peers.DataGridAutomationPeer.
Declaration
protected override string GetItemStatusCore()
Returns
Type | Description |
---|---|
System.String | Returns a string that communicates the visual status of the SfDataGrid. |
GetNameCore()
Gets the text label of SfDataGrid that is associated with System.Windows.Automation.Peers.DataGridAutomationPeer.
Declaration
protected override string GetNameCore()
Returns
Type | Description |
---|---|
System.String | Returns the text label of SfDataGrid. |
IsEnabledCore()
Gets a value that indicates whether the SfDataGrid that is associated with this System.Windows.Automation.Peers.DataGridAutomationPeer can accept keyboard focus.
Declaration
protected override bool IsEnabledCore()
Returns
Type | Description |
---|---|
System.Boolean | Returns true. |