DataGridView::DataGridViewAccessibleObject::GetChildCount Method ()
.NET Framework (current version)
Returns the number of child objects belonging to an accessible object.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The GetChildCount method returns the number of visible rows in the DataGridView, plus 1 for the column header row if it is visible and 1 for each visible scroll bar. If there are no columns in the control, this method always returns 0.
.NET Framework
Available since 2.0
Available since 2.0
Show: