Skip to main content

TcxCustomVerticalGrid.StoreToStream(TStream) Method

Stores the grid layout to a stream.

Declaration

procedure StoreToStream(AStream: TStream);

Parameters

Name Type
AStream TStream

Remarks

You can use the StoreToStream method to store the grid’s layout to a TStream descendant. The method stores the PaintStyle, RowHeaderWidth and ValueWidth property values and the row structure: row indexes and their parent indexes, row heights and their expanded/collapsed status.

The AStream parameter specifies the stream where the grid layout is to be stored.

To restore the grid layout from a stream, you should use the RestoreFromStream method.

Alternatively, you can store the grid layout to an INI file or to the Windows registry using the StoreToIniFile and StoreToRegistry methods respectively.

See Also