Skip to main content

OptionsCustomizationForm.DefaultRestoreDirectory Property

Gets or sets the default directory for the Open dialog that is opened when clicking on the Customization Form‘s Load Layout button.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue("")]
public string DefaultRestoreDirectory { get; set; }

Property Value

Type Default Description
String String.Empty

A string that specifies the default directory for the Open dialog invoked via the Customization Form.

Property Paths

You can access this nested property as listed below:

Object Type Path to DefaultRestoreDirectory
LayoutControl
.OptionsCustomizationForm .DefaultRestoreDirectory

Remarks

The Customization Form provides two buttons that allow an end-user to save the current layout to an XML file and then load it later. Clicking these buttons invokes the Save and Open dialogs respectively. Use the OptionsCustomizationForm.DefaultSaveDirectory and DefaultRestoreDirectory properties to specify the directories initially opened by these dialogs.

See Also