Skip to main content
All docs
V26.1
  • ToolbarFormControl.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 layout of items in the toolbar form from a file in JSON format.

    Namespace: DevExpress.XtraBars.ToolbarForm

    Assembly: DevExpress.XtraBars.v26.1.dll

    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 form’s layout to a file in JSON file.

    See Also