Skip to main content

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.v24.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:

Object Type Path to StoreFormatRules
ColumnView
.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