Back to Devexpress

VGridControlBase.SaveLayoutToStream(Stream, OptionsLayoutBase) Method

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrolbase-dot-savelayouttostream-x28-system-dot-io-dot-stream-devexpress-dot-utils-dot-optionslayoutbase-x29.md

latest2.1 KB
Original Source

VGridControlBase.SaveLayoutToStream(Stream, OptionsLayoutBase) Method

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

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

Declaration

csharp
public virtual void SaveLayoutToStream(
    Stream stream,
    OptionsLayoutBase options
)
vb
Public Overridable Sub SaveLayoutToStream(
    stream As Stream,
    options As OptionsLayoutBase
)

Parameters

NameTypeDescription
streamStream

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

| | options | OptionsLayoutBase |

An object that specifies which options must be saved.

|

Remarks

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

Save and Restore Layouts of DevExpress controls

VGridControlBase Class

VGridControlBase Members

DevExpress.XtraVerticalGrid Namespace