Skip to main content

UnboundSource.Reset(Int32) Method

Changes the capacity of the UnboundSource‘s list.

Namespace: DevExpress.Data

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public void Reset(
    int countAfterReset = 0
)

Optional Parameters

Name Type Default Description
countAfterReset Int32 0

An integer specifying the new row count.

Remarks

If the current row count is less than the countAfterReset value, then the extra new rows are appended.

If the current row count is greater than the countAfterReset value, rows with an index greater than countAfterReset are removed.

See Also