LayoutViewOptionsCustomization.ShowSaveLoadLayoutButtons Property
Gets or sets whether the Load Layout and Save Layout buttons are displayed within the View Layout tab in the Customization Form in advanced customization mode.
Namespace: DevExpress.XtraGrid.Views.Layout
Assembly: DevExpress.XtraGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
[DefaultValue(true)]
[XtraSerializableProperty]
public bool ShowSaveLoadLayoutButtons { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true if these buttons are displayed in advanced customization mode; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to ShowSaveLoadLayoutButtons |
---|---|
LayoutView |
|
Remarks
The ShowSaveLoadLayoutButtons option specifies whether the Load Layout and Save Layout buttons are available via the Customization Form. The option is in effect when the LayoutViewOptionsCustomization.UseAdvancedRuntimeCustomization property is set to true.
These buttons allow an end-user to save the current layout to an XML file, and then load it later. To save and load the layout in code, use the SaveLayoutTo… and RestoreLayoutFrom… methods, provided by the grid control and Layout View. See Save and Restore Layout to learn more.