Skip to main content

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

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