Skip to main content

OfficeNavigationBar.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 OfficeNavigationBar layout to an XML file.

Namespace: DevExpress.XtraBars.Navigation

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 path to an XML file that stores the layout.

Remarks

Call the RestoreLayoutFromXml(String) to retrieve the layout.

You can also save layout data to the registry or to a stream.

See Also