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.v19.2.dll

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:

Library Object Type Path to StoreFormatRules
WinForms Controls ColumnView
.OptionsLayout.StoreFormatRules
WinExplorerView
.OptionsLayout.StoreFormatRules
PivotGridControl
.OptionsLayout.StoreFormatRules
PropertyGridControl
.OptionsLayout.StoreFormatRules
VGridControl
.OptionsLayout.StoreFormatRules
VGridControlBase
.OptionsLayout.StoreFormatRules
ASP.NET Controls and MVC Extensions ASPxPivotGrid
.OptionsLayout.StoreFormatRules
PivotGridWebOptionsLayout
.FullLayout.StoreFormatRules
MVCxPivotGrid
.OptionsLayout.StoreFormatRules
Reporting XRPivotGrid
.OptionsLayout.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