GaugeControlBase.RestoreLayoutFromStream(Stream) Method
SECURITY NOTE
Deserializing layout settings from untrusted resources may create security issues. Review the following help topic for additional information: Safe Deserialization.
Restores the layout of gauges and their elements from the specified stream.
Namespace: DevExpress.XtraGauges.Win
Assembly: DevExpress.XtraGauges.v24.1.Win.dll
NuGet Package: DevExpress.Win.Gauges
Declaration
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