GaugeControlBase.SaveLayoutToStream(Stream) Method

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

Namespace: DevExpress.XtraGauges.Win

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

Declaration

public virtual void SaveLayoutToStream(
    Stream stream
)
Public Overridable Sub SaveLayoutToStream(
    stream As 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.

Implements

DevExpress.XtraGauges.Base.IGaugeContainer.SaveLayoutToStream(Stream)
See Also