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

Declaration

[DXCategory("Behavior")]
[DefaultValue("RibbonSettings.xml")]
[XtraSerializableProperty]
public string AutoSaveLayoutToXmlPath { get; set; }
<DXCategory("Behavior")>
<DefaultValue("RibbonSettings.xml")>
<XtraSerializableProperty>
Public Property AutoSaveLayoutToXmlPath As String

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