Back to Devexpress

AccordionControl.RestoreLayoutFromXml(String) Method

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

latest2.5 KB
Original Source

AccordionControl.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.

Loads the AccordionControl layout, stored in a local 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 String value that is the path to the XML file that keeps the AccordionControl layout.

|

Remarks

To save the current AccordionControl layout to XML, use the AccordionControl.SaveLayoutToXml method. You can also use the Workspace Manager component and Persistence Behavior for centralized application layout management.

See Also

SaveLayoutToXml(String)

Save and Restore Layouts of DevExpress controls

AccordionControl Class

AccordionControl Members

DevExpress.XtraBars.Navigation Namespace