Skip to main content

UnboundSource.SetRowCount(Int32) Method

Changes the row count in the UnboundSource‘s list.

Namespace: DevExpress.Data

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public void SetRowCount(
    int count
)

Parameters

Name Type Description
count Int32

An integer which is the new row count.

Remarks

This method does nothing if the new row count equals to current count. Otherwise, the list capacity is changed using the UnboundSource.Reset method.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SetRowCount(Int32) method.

Note

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.

See Also