Class DataGridAccessibilityObject
Represents a class that provides the accessibility object for the SfDataGrid.
Inheritance
System.Object
DataGridAccessibilityObject
Namespace: Syncfusion.WinForms.DataGrid.Accessibility
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class DataGridAccessibilityObject : Control.ControlAccessibleObject
Constructors
DataGridAccessibilityObject(SfDataGrid)
Initializes a new instance of the DataGridAccessibilityObject class.
Declaration
public DataGridAccessibilityObject(SfDataGrid sfDataGrid)
Parameters
Type | Name | Description |
---|---|---|
SfDataGrid | sfDataGrid | The SfDataGrid control. |
Properties
Bounds
Gets the bounds of the SfDataGrid.
Declaration
public override Rectangle Bounds { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
Name
Gets the AccessibleName of the SfDataGrid control.
Declaration
public override string Name { get; set; }
Property Value
Type |
---|
System.String |
Role
Gets the AccessibleRole of the SfDataGrid Control.
Declaration
public override AccessibleRole Role { get; }
Property Value
Type |
---|
System.Windows.Forms.AccessibleRole |
Methods
GetChild(Int32)
Overridden to get the accessibility object of the child at the given index.
Declaration
public override AccessibleObject GetChild(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the child control. |
Returns
Type | Description |
---|---|
System.Windows.Forms.AccessibleObject | Returns the child object at the given index. |
GetChildCount()
Overridden to get the child count of the SfDataGrid.
Declaration
public override int GetChildCount()
Returns
Type | Description |
---|---|
System.Int32 | Returns the child count of the data grid. |