Skip to main content
All docs
V24.2

ColumnView.FormatRuleManagerFormCreated Event

Fires when the Conditional Formatting Rules Manager is about to be displayed.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

[DXCategory("Behavior")]
public event FormatRuleManagerFormEventHandler FormatRuleManagerFormCreated

Event Data

The FormatRuleManagerFormCreated event's data class is DevExpress.XtraGrid.Views.Base.FormatRuleManagerFormEventArgs.

Remarks

Set the GridOptionsMenu.ShowConditionalFormattingItem property to true to enable the Conditional Formatting sub-menu within a column’s context menu. End users can use commands from this sub-menu to apply or change cell conditional formats.

Conditional Formatting menu

The Conditional Formatting->Manage Rules… command invokes the Conditional Formatting Rules Manager dialog used to edit and delete exisiting rules, and create new rules. The FormatRuleManagerFormCreated event fires when this dialog is about to be displayed.

Conditional Formatting Rules Manager

You can use the event’s AllowDataUpdateRules parameter to hide data update rules (FormatConditionRuleDataUpdate) in this dialog.

See Also