# Rules Manager

## Content



**Rules Manager** provides an efficient solution to applying conditional formatting to data-based controls. It helps the users to quickly enhance visualization of data and identification of patterns by applying rule-based formatting similar to that of Excel. Rules Manager mainly comprises of **C1RulesManager** and **C1RulesEngine**. **The C1RulesEngine** component will compute the style for each item from the declared rules while **C1RulesManager** component provides UI elements for addition, removal and edition of the rules at runtime.

**Rules Manager** can be easily integrated with **ComponentOne** controls such as **Flexgrid** and **Listview** providing support for dynamic formatting based on cell values and custom expressions. Users can apply formatting styles like backcolor, forecolor, fonts, text alignment data bars and icon set to visually track the data trends and conditions.

![](https://cdn.mescius.io/document-site-files/images/ac639fbf-046b-4a70-872a-c6393c366bf1/images/rules-manager-overview.gif)

Key features include:

*   Runtime rule management with a user-friendly interface.
*   Excel-style conditional formatting.
*   Built-in expression parser and formula editor that support logical conditions and custom formulas.
*   Flexible attachment to multiple C1 data controls for consistent behavior across applications.