Back to Devexpress

RibbonQuickAccessToolbar.RestoreLayoutFromXml(String) Method

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonquickaccesstoolbar-dot-restorelayoutfromxml-x28-system-dot-string-x29.md

latest2.9 KB
Original Source

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

Restores the layout of the RibbonQuickAccessToolbar‘s items from an XML file.

Namespace : DevExpress.XtraBars.Ribbon

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 which specifies the path to the XML file from which the layout of items is read. If the specified file doesn’t exist, an exception is raised.

|

Remarks

For more information, see Saving and Restoring the Layout of Dock Panels.

See Also

RestoreLayoutFromRegistry(String)

RestoreLayoutFromStream(Stream)

SaveLayoutToRegistry(String)

SaveLayoutToStream(Stream)

SaveLayoutToXml(String)

Saving and Restoring the Layout of Dock Panels

Save and Restore Layouts of DevExpress controls

RibbonQuickAccessToolbar Class

RibbonQuickAccessToolbar Members

DevExpress.XtraBars.Ribbon Namespace