Back to Devexpress

OfficeNavigationBar.SaveLayoutToXml(String) Method

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-officenavigationbar-dot-savelayouttoxml-x28-system-dot-string-x29.md

latest2.0 KB
Original Source

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

csharp
public virtual void SaveLayoutToXml(
    string xmlFile
)
vb
Public Overridable Sub SaveLayoutToXml(
    xmlFile As String
)

Parameters

NameTypeDescription
xmlFileString

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

OfficeNavigationBar Class

OfficeNavigationBar Members

DevExpress.XtraBars.Navigation Namespace