UnboundSource.Reset(Int32) Method

Changes the capacity of the UnboundSource's list.

Namespace: DevExpress.Data

Assembly: DevExpress.Data.v20.2.dll


public void Reset(
    int countAfterReset = 0
Public Sub Reset(
    countAfterReset As Integer = 0

Optional Parameters

Name Type Default Description
countAfterReset Int32


An integer specifying the new row count.


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