Skip to main content

GaugeControlBase.SaveLayoutToStream(Stream) Method

Saves the layout of gauges and their elements to a specific stream.

Namespace: DevExpress.XtraGauges.Win

Assembly: DevExpress.XtraGauges.v23.2.Win.dll

NuGet Package: DevExpress.Win.Gauges

Declaration

public virtual void SaveLayoutToStream(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A Stream descendant to which the layout is written.

Remarks

Use the SaveLayoutToStream method to write the layout of gauges and their elements to a stream. You can then read saved settings using the GaugeControlBase.RestoreLayoutFromStream method.

Tip

You can utilize the Persistence Behavior or Workspace Manager component to save and restore layouts for all supported DevExpress controls at once.

See Also