Class RowAccessibleObject
Represents a class that provides the accessibility object for the rows.
Inheritance
Namespace: Syncfusion.WinForms.DataGrid.Accessibility
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class RowAccessibleObject : AccessibleObject
Constructors
RowAccessibleObject(DetailsViewDataGrid, Int32, DataRowBase, DetailsViewRowAccessibilityObject)
Initializes a new instance of the RowAccessibleObject class.
Declaration
public RowAccessibleObject(DetailsViewDataGrid detailsViewDataGrid, int index, DataRowBase nestedRow, DetailsViewRowAccessibilityObject detailsViewRowAccessibilityObject)
Parameters
Type | Name | Description |
---|---|---|
DetailsViewDataGrid | detailsViewDataGrid | The DetailsViewDataGrid. |
System.Int32 | index | The details view row index. |
DataRowBase | nestedRow | The DataRowBase of the details view row. |
DetailsViewRowAccessibilityObject | detailsViewRowAccessibilityObject | The accessibility object of the details view row. |
RowAccessibleObject(SfDataGrid, Int32, DataRowBase)
Initializes a new instance of the RowAccessibleObject class.
Declaration
public RowAccessibleObject(SfDataGrid dataGrid, int index, DataRowBase dataRow)
Parameters
Type | Name | Description |
---|---|---|
SfDataGrid | dataGrid | The SfDataGrid control. |
System.Int32 | index | The index of the row. |
DataRowBase | dataRow | The DataRowBase of the row. |
Properties
Bounds
Gets the bounds of the row.
Declaration
public override Rectangle Bounds { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
Name
Gets the AccessibleName of the row.
Declaration
public override string Name { get; set; }
Property Value
Type |
---|
System.String |
Parent
Gets the parent accessibility object of the row.
Declaration
public override AccessibleObject Parent { get; }
Property Value
Type |
---|
System.Windows.Forms.AccessibleObject |
Role
Gets the AccessibleRole of the row.
Declaration
public override AccessibleRole Role { get; }
Property Value
Type |
---|
System.Windows.Forms.AccessibleRole |
State
Gets the accessible state of the row.
Declaration
public override AccessibleStates State { get; }
Property Value
Type |
---|
System.Windows.Forms.AccessibleStates |
Value
Gets the AccessibleValue of the row.
Declaration
public override string Value { get; set; }
Property Value
Type |
---|
System.String |
Methods
GetChild(Int32)
Gets 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. |
Returns
Type | Description |
---|---|
System.Windows.Forms.AccessibleObject | Returns the accessibility object of the child. |
GetChildCount()
Overridden to update the child count of the records.
Declaration
public override int GetChildCount()
Returns
Type | Description |
---|---|
System.Int32 | Gets the number of child columns count. |
Navigate(AccessibleNavigation)
Navigates to the next accessibility object based on the given direction.
Declaration
public override AccessibleObject Navigate(AccessibleNavigation navdir)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.AccessibleNavigation | navdir | The navigation direction of the accessibility instance. |
Returns
Type | Description |
---|---|
System.Windows.Forms.AccessibleObject | Returns the accessibility object of the next element. |