Skip to main content

VGridControlBase.SaveLayoutToStream(Stream, OptionsLayoutBase) Method

Saves the control’s layout to a stream, using the specified options.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v22.2.dll

NuGet Package: DevExpress.Win.VerticalGrid


public virtual void SaveLayoutToStream(
    Stream stream,
    OptionsLayoutBase options


Name Type Description
stream Stream

A System.IO.Stream object to which the control’s layout is written.

options OptionsLayoutBase

An object that specifies which options must be saved.


Use the SaveLayoutToStream method to write the control’s layout to a stream. You can read stored settings from the stream by the VGridControlBase.RestoreLayoutFromStream method.

See Also