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

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.2.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