ValueTreeRowCollection.Move
Syntax:
Parameters:
<Row> (required)
The index of the row to be moved or the row itself.
<Offset> (required)
Number of rows by which the row must be moved. A positive value means an increase in the current index (move to the end of the collection), and a negative value means a decrease in the current index (move to the beginning of the collection).
Description:
Availability:
Example:
// move the first line to the next position ContentRows.Move(0, 1); // move the second line to the previous position ContentRows.Move(1, -1); |