Skip to main content
All docs
V25.2
  • TileControl.RestoreLayoutFromJson(Stream) Method

    SECURITY-RELATED CONSIDERATIONS

    Deserializing layout settings from untrusted resources may create security issues. Review the following help topic for additional information: Safe Deserialization.

    Loads the tile control’s layout from a file in JSON format.

    Namespace: DevExpress.XtraEditors

    Assembly: DevExpress.XtraEditors.v25.2.dll

    NuGet Package: DevExpress.Win.Navigation

    Declaration

    public virtual void RestoreLayoutFromJson(
        Stream utf8jsonStream
    )

    Parameters

    Name Type Description
    utf8jsonStream Stream

    The layout in UTF-8 encoded JSON format.

    Remarks

    Use the SaveLayoutToJson(Stream) method to save the tile control’s layout to a file in JSON format. The layout does not include tile content and appearance settings.

    Tip

    Use the Persistence Behavior or Workspace Manager component to save and restore layouts for all DevExpress UI controls simultaneously.

    See Also