DataGridViewCell::DataGridViewCellAccessibleObject::GetChildCount Method ()
.NET Framework (current version)
Returns the number of children that belong to the DataGridViewCell::DataGridViewCellAccessibleObject.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Return Value
Type: System::Int32The value 1 if the DataGridViewCell that owns DataGridViewCell::DataGridViewCellAccessibleObject is being edited; otherwise, –1.
| Exception | Condition |
|---|---|
| InvalidOperationException | The value of the Owner property is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: