DataGridViewCell.DataGridViewCellAccessibleObject.GetChild Method (Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns the accessible object corresponding to the specified index.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public override AccessibleObject GetChild(
	int index


Type: System.Int32

The zero-based index of the child accessible object.

Return Value

Type: System.Windows.Forms.AccessibleObject

An AccessibleObject that represents the accessible child corresponding to the specified index.

Exception Condition

The value of the Owner property is null.

The GetChild method returns an AccessibleObject only if the DataGridViewCell that owns the DataGridViewCell.DataGridViewCellAccessibleObject is in edit mode and index is 0.

.NET Framework
Available since 2.0
Return to top