Skip to main content

RibbonQuickAccessToolbar.RestoreLayoutFromXml(String) Method

SECURITY NOTE

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.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual void RestoreLayoutFromXml(
    string xmlFile
)

Parameters

Name Type Description
xmlFile String

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