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

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

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

See Also