GaugeControlBase.RestoreLayoutFromStream(Stream) Method

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

Namespace: DevExpress.XtraGauges.Win

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

Declaration

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

Implements

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