Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RibbonControl.AutoSaveLayoutToXmlPath Property

Gets or sets the path for an XML file, to which the auto-saved layout is written.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue("RibbonSettings.xml")]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public string AutoSaveLayoutToXmlPath { get; set; }

#Property Value

Type Default Description
String "RibbonSettings.xml"

A String value that is the path for an XML file, to which the auto-saved layout is written.

#Remarks

You can turn on a RibbonControl‘s auto-save layout feature by setting the RibbonControl.AutoSaveLayoutToXml to true. In this case, each time a RibbonControl is closed, the current layout is written to an XML file specified via the AutoSaveLayoutToXmlPath property. If the AutoSaveLayoutToXmlPath property is not specified, the RibbonControl.InvalidSaveRestoreLayoutException event is raised.

Use the RibbonControl.AllowCustomization property to enable/disable a RibbonControl‘s customization feature.

See Also