OptionsCustomizationForm.DefaultRestoreDirectory Property
SECURITY-RELATED CONSIDERATIONS
Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.
Gets or sets the default directory for the “Open” dialog that is invoked when a user clicks on the Customization Form‘s Load Layout button.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v25.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| String | String.Empty | The default directory for the Open dialog. |
Property Paths
You can access this nested property as listed below:
| Object Type | Path to DefaultRestoreDirectory |
|---|---|
| LayoutControl |
|
Remarks
The Customization Form display two buttons that allow a 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.