DataGridViewCell::DataGridViewCellAccessibleObject::GetChild Method (Int32)
.NET Framework (current version)
Returns the accessible object corresponding to the specified index.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- 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 |
|---|---|
| InvalidOperationException | 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
Available since 2.0
Show: