Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

UnboundDataSource.SetRowCount(Int32) Method

Sets the number of rows displayed by the control.

Namespace: DevExpress.Xpf.Core.DataSources

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public void SetRowCount(
    int count
)

#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