Back to Devexpress

AccordionControl.RestoreFromXml(String) Method

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

latest2.1 KB
Original Source

AccordionControl.RestoreFromXml(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
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual void RestoreFromXml(
    string xmlFile
)
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Overridable Sub RestoreFromXml(
    xmlFile As String
)

Parameters

NameTypeDescription
xmlFileString

A String value that is the path to the XML file that keeps the AccordionControl layout.

|

Remarks

The RestoreFromXml method is obsolete. Use AccordionControl.RestoreLayoutFromXml instead.

See Also

RestoreLayoutFromXml(String)

AccordionControl Class

AccordionControl Members

DevExpress.XtraBars.Navigation Namespace