Class RadGridViewAccessibleObject
Accessibility implementation for GridView object
Inheritance
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public sealed class RadGridViewAccessibleObject : Control.ControlAccessibleObject
Constructors
RadGridViewAccessibleObject(RadGridView)
Initializes a new instance of the RadGridViewAccessibleObject class.
Declaration
public RadGridViewAccessibleObject(RadGridView owner)
Parameters
RadGridView
owner
The owner. |
Properties
CellDescription
Gets or sets the cell description.
Declaration
public string CellDescription { get; set; }
Property Value
System.String
The cell description. |
Control
Gets the control.
Declaration
public RadGridView Control { get; }
Property Value
RadGridView
The control. |
Name
Gets or sets the object name.
Declaration
public override string Name { get; set; }
Property Value
System.String
The object name, or null if the property has not been set. |
Exceptions
System.Runtime.InteropServices.COMException
The name of the control cannot be retrieved or set. |
Role
Gets the role of this accessible object
Declaration
public override AccessibleRole Role { get; }
Property Value
System.Windows.Forms.AccessibleRole
|
Methods
GetCellAccessibleObject(GridViewCellInfo, RowAccessibleObject)
Gets the cell accessible object.
Declaration
public AccessibleObject GetCellAccessibleObject(GridViewCellInfo cellInfo, RowAccessibleObject parent)
Parameters
GridViewCellInfo
cellInfo
The cell info. |
RowAccessibleObject
parent
The parent. |
Returns
System.Windows.Forms.AccessibleObject
|
GetChild(Int32)
Retrieves the accessible child corresponding to the specified index
Declaration
public override AccessibleObject GetChild(int index)
Parameters
System.Int32
index
Index of the row/header |
Returns
System.Windows.Forms.AccessibleObject
The accessible Row/header object |
GetChildCount()
Retrieves the number of children belonging to an accessible object
Declaration
public override int GetChildCount()
Returns
System.Int32
Count of number of rows plus one for the header row |
GetRowAccessibleObject(GridViewRowInfo)
Gets the row accessible object.
Declaration
public AccessibleObject GetRowAccessibleObject(GridViewRowInfo rowInfo)
Parameters
GridViewRowInfo
rowInfo
The row info. |
Returns
System.Windows.Forms.AccessibleObject
|
GetRowElement(GridViewRowInfo)
Internal method used to retrieve bounding rectangle of a cell
Declaration
public Rectangle GetRowElement(GridViewRowInfo row)
Parameters
GridViewRowInfo
row
The row object |
Returns
System.Drawing.Rectangle
Bounding rectangle of row |