New to Telerik UI for WinFormsStart a free 30-day trial

The Accessible object corresponding to row

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public sealed class RowAccessibleObject : Control.ControlAccessibleObject, IReflect, IAccessible

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectControl.ControlAccessibleObjectRowAccessibleObject...

Implements: IAccessibleIReflect

Constructors

Initializes a new instance of the RowAccessibleObject class.

C#
public RowAccessibleObject(RadGridView owner, GridViewRowInfo row, RadGridViewAccessibleObject parent)
Parameters:ownerRadGridView

The owner.

rowGridViewRowInfo

The row.

parentRadGridViewAccessibleObject

The parent.

Properties

Gets the location and size of the row accessible object.

C#
public override Rectangle Bounds { get; }

Overrides: AccessibleObject.Bounds

Gets the control.

C#
public RadGridView Control { get; }
Property Value:

The control.

// Gets or sets the object name //

C#
public override string Name { get; set; }
Property Value:

The name.

Overrides: Control.ControlAccessibleObject.Name

Gets the parent of the row accessible object

C#
public override AccessibleObject Parent { get; }

Overrides: Control.ControlAccessibleObject.Parent

Gets the role of this accessible object

C#
public override AccessibleRole Role { get; }

Overrides: Control.ControlAccessibleObject.Role

Methods

Performs the default action associated with this accessible object

C#
public override void DoDefaultAction()

Overrides: AccessibleObject.DoDefaultAction()

Determines whether the specified object is equal to the current object.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with the current object.

Returns:

bool

true if the specified object is equal to the current object; otherwise, false.

Overrides: object.Equals(object)

Intenral method used to retrieve bounding rectangle of a cell

C#
public Rectangle GetCellElement(GridViewRowInfo row, GridViewColumn col)
Parameters:rowGridViewRowInfo

The row object that contains the cell

colGridViewColumn

The column object corresponding to hte cell index

Returns:

Rectangle

The Bounding Rectangle

Retrieves the accessible child corresponding to the specified index.

C#
public override AccessibleObject GetChild(int index)
Parameters:indexint

Index of the child. Index varies from 0 to the ChildCount-1

Returns:

AccessibleObject

The accessible child object

Overrides: AccessibleObject.GetChild(int)

Retrieves the number of children belonging to an accessible object

C#
public override int GetChildCount()
Returns:

int

Overrides: AccessibleObject.GetChildCount()

Retrieves the object that has the keyboard focus

C#
public override AccessibleObject GetFocused()
Returns:

AccessibleObject

Overrides: AccessibleObject.GetFocused()

Serves as a hash function for a particular type.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.

Overrides: object.GetHashCode()

Retrieves the currently selected child

C#
public override AccessibleObject GetSelected()
Returns:

AccessibleObject

Overrides: AccessibleObject.GetSelected()

Navigates to another accessible object

C#
public override AccessibleObject Navigate(AccessibleNavigation navdir)
Parameters:navdirAccessibleNavigation

The navigation direction

Returns:

AccessibleObject

Sibling or parent or child accessble object based on the direction of navigation

Overrides: AccessibleObject.Navigate(AccessibleNavigation)

Modifies the selection or moves the keyboard focus of the accessible object

C#
public override void Select(AccessibleSelection flags)
Parameters:flagsAccessibleSelection

Overrides: AccessibleObject.Select(AccessibleSelection)