OptionsLayoutGrid.StoreVisualOptions Property

Gets or sets whether the control's visual options are stored when the layout is saved to storage and restored when the layout is restored from storage.

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v20.1.dll

Declaration

[DefaultValue(true)]
public bool StoreVisualOptions { get; set; }
<DefaultValue(True)>
Public Property StoreVisualOptions As Boolean

Property Value

Type Default Description
Boolean

true

true if the control's visual options are included in the layout when it's saved to storage and these settings are restored when the layout is restored from storage; otherwise, false.

Property Paths

You can access this nested property as listed below:

Show 19 property paths
Library Object Type Path to StoreVisualOptions
WinForms Controls AdvBandedGridView
.OptionsLayout.StoreVisualOptions
BandedGridView
.OptionsLayout.StoreVisualOptions
ColumnView
.OptionsLayout.StoreVisualOptions
CardView
.OptionsLayout.StoreVisualOptions
GridView
.OptionsLayout.StoreVisualOptions
LayoutView
.OptionsLayout.StoreVisualOptions
TileView
.OptionsLayout.StoreVisualOptions
TileView
.OptionsLayout.StoreVisualOptions
WinExplorerView
.OptionsLayout.StoreVisualOptions
WinExplorerView
.OptionsLayout.StoreVisualOptions
PivotGridControl
.OptionsLayout.StoreVisualOptions
PropertyGridControl
.OptionsLayout.StoreVisualOptions
VGridControl
.OptionsLayout.StoreVisualOptions
VGridControlBase
.OptionsLayout.StoreVisualOptions
ASP.NET Controls and MVC Extensions ASPxPivotGrid
.OptionsLayout.StoreVisualOptions
PivotGridWebOptionsLayout
.FullLayout.StoreVisualOptions
PivotGridWebOptionsLayout
.DefaultLayout.StoreVisualOptions
MVCxPivotGrid
.OptionsLayout.StoreVisualOptions
Reporting XRPivotGrid
.OptionsLayout.StoreVisualOptions

Remarks

This option determines if the control's visual options are included in the control's layout when it's saved to storage (a stream, xml file or the system registry). If the OptionsLayoutGrid.StoreAllOptions option is set to false, the settings that are included in the layout when it's stored are dependent upon the options of the OptionsLayoutGrid object (only those settings which have their corresponding Store... properties set to true will be included).

If the layout is being restored from storage and the StoreVisualOptions option is set to true the control will try to load the appropriate options from storage. If these options cannot be found in the stored layout, the control's corresponding options will be set to their default values.

For the XtraGrid control, the visual options are grouped within the view's OptionsView property.

See Also