GridFormatRule Class
Specifies a single style format rule for a grid control’s View.
Namespace: DevExpress.XtraGrid
Assembly: DevExpress.XtraGrid.v17.2.dll
Declaration
Remarks
To apply style format rules to a grid control’s View, add GridFormatRule objects to the ColumnView.FormatRules collection.
The FormatRuleBase.Rule inherited property specifies the type of style format rule.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GridFormatRule class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
Inheritance
Object
FormatRuleBase
GridFormatRule
See Also