Back to Devexpress

OfficeNavigationBar.RestoreLayoutFromXml(String) Method

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

latest1.7 KB
Original Source

OfficeNavigationBar.RestoreLayoutFromXml(String) Method

SECURITY-RELATED CONSIDERATIONS

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

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 RestoreLayoutFromXml(
    string xmlFile
)
vb
Public Overridable Sub RestoreLayoutFromXml(
    xmlFile As String
)

Parameters

NameTypeDescription
xmlFileString

A path to an XML file that stores the layout.

|

See Also

Save and Restore Layouts of DevExpress controls

OfficeNavigationBar Class

OfficeNavigationBar Members

DevExpress.XtraBars.Navigation Namespace