Skip to main content
A newer version of this page is available. .

GaugeControlBase.SaveLayoutToStream(Stream) Method

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

Namespace: DevExpress.XtraGauges.Win

Assembly: DevExpress.XtraGauges.v19.1.Win.dll

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