Back to Devexpress

TileControl.SaveLayoutToJson(Stream) Method

windowsforms-devexpress-dot-xtraeditors-dot-tilecontrol-dot-savelayouttojson-x28-system-dot-io-dot-stream-x29.md

latest2.0 KB
Original Source

TileControl.SaveLayoutToJson(Stream) Method

Saves the tile control’s layout to a file in JSON format.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual void SaveLayoutToJson(
    Stream utf8jsonStream
)
vb
Public Overridable Sub SaveLayoutToJson(
    utf8jsonStream As Stream
)

Parameters

NameTypeDescription
utf8jsonStreamStream

The layout in UTF-8 encoded JSON format.

|

Remarks

The SaveLayoutToJson method does not save tile content and appearance settings.

Use the RestoreLayoutFromJson(Stream) method to load the tile control’s layout to 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

RestoreLayoutFromJson(Stream)

Save and Restore Layouts of DevExpress Controls

TileControl Class

TileControl Members

DevExpress.XtraEditors Namespace