New to Telerik UI for WinForms? Start a free 30-day trial

The accessible object corresponding to Cell

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class CellAccessibleObject : RadItemAccessibleObject, IReflect, IAccessible

Inheritance: objectMarshalByRefObjectStandardOleMarshalObjectAccessibleObjectRadItemAccessibleObjectCellAccessibleObject...

Implements: IAccessibleIReflect

Constructors

Creates an accessible cell representation that tracks the cell's edit events and exposes its active editor as a child.

C#
public CellAccessibleObject(RadGridView owner, GridViewCellInfo cell, RowAccessibleObject parent)
Parameters:ownerRadGridView

The grid that contains the cell.

cellGridViewCellInfo

The grid cell represented by this accessible object.

parentRowAccessibleObject

The accessible row that contains the cell.

Properties

Gets the location and size of the accessible object

C#
public override Rectangle Bounds { get; }

Overrides: AccessibleObject.Bounds

Gets a string that describes the visual appearance of the specified object.

C#
public override string Description { get; }

Overrides: AccessibleObject.Description

Gets the accessible name for the cell. In Windows XP-era or coded UI test mode, this is the represented cell's value; otherwise, the name includes the row index and the grid's current column and cell context.

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

The generated name; setting this property has no effect.

Overrides: AccessibleObject.Name

Gets the owner.

C#
public override object Owner { get; }
Property Value:

The owner.

Overrides: RadItemAccessibleObject.Owner

Gets the parent of an accessible object

C#
public override AccessibleObject Parent { get; }

Overrides: AccessibleObject.Parent

Gets the role of this accessible object

C#
public override AccessibleRole Role { get; }

Overrides: AccessibleObject.Role

Gets the state of this accessible object

C#
public override AccessibleStates State { get; }

Overrides: AccessibleObject.State

Gets or sets the represented cell's value as text.

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

The cell value converted to a string; assigning a value writes it to the underlying cell.

Overrides: AccessibleObject.Value

Methods

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)

Gets the active editor's accessible object when this is the current cell and the grid is editing; specialized objects are returned for spin and drop-down editors.

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

The zero-based child index.

Returns:

AccessibleObject

The active editor's accessible object, or the base implementation's child when no specialized editor object is available.

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)

Applies the requested accessible selection and, for selection or focus requests, makes this cell current unless coded UI test mode is enabled.

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

The selection or focus operation to perform.

Overrides: AccessibleObject.Select(AccessibleSelection)