Class RowAccessibleObject
The Accessible object corresponding to row
Inheritance
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public sealed class RowAccessibleObject : Control.ControlAccessibleObject
Constructors
RowAccessibleObject(RadGridView, GridViewRowInfo, RadGridViewAccessibleObject)
Initializes a new instance of the RowAccessibleObject class.
Declaration
public RowAccessibleObject(RadGridView owner, GridViewRowInfo row, RadGridViewAccessibleObject parent)
Parameters
|
RadGridView
owner
The owner. |
|
GridViewRowInfo
row
The row. |
|
RadGridViewAccessibleObject
parent
The parent. |
Properties
Bounds
Gets the location and size of the row accessible object.
Declaration
public override Rectangle Bounds { get; }
Property Value
|
System.Drawing.Rectangle
|
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 name. |
Parent
Gets the parent of the row accessible object
Declaration
public override AccessibleObject Parent { get; }
Property Value
|
System.Windows.Forms.AccessibleObject
|
Role
Gets the role of this accessible object
Declaration
public override AccessibleRole Role { get; }
Property Value
|
System.Windows.Forms.AccessibleRole
|
Methods
DoDefaultAction()
Performs the default action associated with this accessible object
Declaration
public override void DoDefaultAction()
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
|
System.Object
obj
The System.Object to compare with the current System.Object. |
Returns
|
System.Boolean
true if the specified System.Object is equal to the current System.Object; otherwise, false. |
GetCellElement(GridViewRowInfo, GridViewColumn)
Intenral method used to retrieve bounding rectangle of a cell
Declaration
public Rectangle GetCellElement(GridViewRowInfo row, GridViewColumn col)
Parameters
|
GridViewRowInfo
row
The row object that contains the cell |
|
GridViewColumn
col
The column object corresponding to hte cell index |
Returns
|
System.Drawing.Rectangle
The Bounding Rectangle |
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 child. Index varies from 0 to the ChildCount-1 |
Returns
|
System.Windows.Forms.AccessibleObject
The accessible child object |
GetChildCount()
Retrieves the number of children belonging to an accessible object
Declaration
public override int GetChildCount()
Returns
|
System.Int32
|
GetFocused()
Retrieves the object that has the keyboard focus
Declaration
public override AccessibleObject GetFocused()
Returns
|
System.Windows.Forms.AccessibleObject
|
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
|
System.Int32
A hash code for the current System.Object. |
GetSelected()
Retrieves the currently selected child
Declaration
public override AccessibleObject GetSelected()
Returns
|
System.Windows.Forms.AccessibleObject
|
Navigate(AccessibleNavigation)
Select(AccessibleSelection)
Modifies the selection or moves the keyboard focus of the accessible object
Declaration
public override void Select(AccessibleSelection flags)
Parameters
|
System.Windows.Forms.AccessibleSelection
flags
|