Skip to main content
A newer version of this page is available. .

OptionsLayoutGrid.StoreFormatRules Property

Gets or sets whether MS Excel-style conditional formatting rules 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.2.dll

NuGet Packages: DevExpress.Data, DevExpress.WindowsDesktop.Data

Declaration

[DefaultValue(false)]
public bool StoreFormatRules { get; set; }

Property Value

Type Default Description
Boolean **false**

true if MS Excel-style conditional formatting rules 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 11 property paths
Library Object Type Path to StoreFormatRules
WinForms Controls ColumnView
.OptionsLayout .StoreFormatRules
TileView
.OptionsLayout .StoreFormatRules
WinExplorerView
.OptionsLayout .StoreFormatRules
PivotGridControl
.OptionsLayout .StoreFormatRules
PropertyGridControl
.OptionsLayout .StoreFormatRules
VGridControl
.OptionsLayout .StoreFormatRules
VGridControlBase
.OptionsLayout .StoreFormatRules
Reporting XRPivotGrid
.OptionsLayout .StoreFormatRules
ASP.NET Web Forms Controls ASPxPivotGrid
.OptionsLayout .StoreFormatRules
ASPxPivotGrid
.FullLayout .StoreFormatRules
PivotGridWebOptionsLayout
.FullLayout .StoreFormatRules
ASP.NET MVC Extensions MVCxPivotGrid
.OptionsLayout .StoreFormatRules
MVCxPivotGrid
.FullLayout .StoreFormatRules

Remarks

If the layout is being restored from storage and the StoreFormatRules option is set to true the control will try to load the conditional formatting rules from storage. If these options cannot be found in the stored layout, the control’s existing formatting rules are not cleared. Otherwise, the existing formatting rules are cleared before the layout restoration.

See Also