Returns the number of child rows (group or data) contained within the specified group row.
NuGet Package: DevExpress.Wpf.Grid.Core
public int GetChildRowCount( int rowHandle )
Public Function GetChildRowCount( rowHandle As Integer ) As Integer
An integer value that specifies the group row’s handle.
An integer value that specifies the number of child rows contained within the specified group row.
The GetChildRowCount method is intended only for group rows and should not be called for regular rows. Though the group row handles are negative (starting from -1), the GetChildRowCount method treats all passed values as group row handles (i.e., it returns the same value for negative and positive values).
To obtain the handle of the specified child row, use the GridControl.GetChildRowHandle method. A child row is identified by its visible index (position) within the specified group row.
If the GetChildRowCount method is called for a non-expanded group row that contains embedded group rows, it returns 0.
To learn more, see Identifying Rows and Cards.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the GetChildRowCount(Int32) method.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.