Back to Devexpress

ColumnView.FormatRuleManagerFormCreated Event

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnview-7fa9a691.md

latest2.6 KB
Original Source

ColumnView.FormatRuleManagerFormCreated Event

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

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Behavior")]
public event FormatRuleManagerFormEventHandler FormatRuleManagerFormCreated
vb
<DXCategory("Behavior")>
Public Event FormatRuleManagerFormCreated As FormatRuleManagerFormEventHandler

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.

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.

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

See Also

ShowConditionalFormattingItem

Appearance and Conditional Formatting

ColumnView Class

ColumnView Members

DevExpress.XtraGrid.Views.Base Namespace