Skip to main content
All docs
V25.2
  • ToolbarFormControl.SaveLayoutToXml(String) Method

    SECURITY-RELATED CONSIDERATIONS

    Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

    Saves the layout of the ToolbarFormControl‘s items to the specified XML file.

    Namespace: DevExpress.XtraBars.ToolbarForm

    Assembly: DevExpress.XtraBars.v25.2.dll

    NuGet Package: DevExpress.Win.Navigation

    Declaration

    public virtual void SaveLayoutToXml(
        string xmlFile
    )

    Parameters

    Name Type Description
    xmlFile String

    A string value that specifies the path to the XML file.

    Remarks

    Read the following topic for information on how to save/restore the layout of DevExpress .NET controls: Save and Restore Layouts of DevExpress Controls.

    See Also