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

GaugeControlBase.RestoreLayoutFromStream(Stream) Method

Restores the layout of gauges and their elements from the specified stream.

Namespace: DevExpress.XtraGauges.Win

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

Declaration

public virtual void RestoreLayoutFromStream(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A Stream descendant which stores the layout.

Remarks

Use the RestoreLayoutFromStream method to load the layout of gauges and their elements from the stream to which the layout was saved via the GaugeControlBase.SaveLayoutToStream method. If the specified stream is empty or null (Nothing in Visual Basic), an exception is raised.

See Also