GaugeControlBase.SaveLayoutToJson(Stream) Method
Saves the gauge layout to a file in JSON format.
Namespace: DevExpress.XtraGauges.Win
Assembly: DevExpress.XtraGauges.v25.2.Win.dll
NuGet Package: DevExpress.Win.Gauges
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| utf8jsonStream | Stream | The layout in UTF-8 encoded JSON format. |
Remarks
Use the RestoreLayoutFromJson(Stream) method to load the gauge layout from a file in JSON format.
Tip
Use the Persistence Behavior or Workspace Manager component to save and restore layouts for all DevExpress UI controls simultaneously.
See Also