UnboundDataSource.SetRowCount(Int32) Method
Sets the number of rows displayed by the control.
Namespace: DevExpress.Xpf.Core.DataSources
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
count | Int32 | An integer value that is the number of rows displayed by the control. |
Remarks
Use the SetRowCount method to change the number of data source records displayed by the control.
Note
The SetRowCount method raises the UnboundDataSource.UnboundSourceListChanging and UnboundDataSource.UnboundSourceListChanged events only if the number of displayed records actually changes (i.e., the count parameter value is different from the current row count).
See Also