Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to conditionally change control appearance

$
0
0

This example demonstrates how to conditionally change control appearance at runtime. For this, it is necessary to create an instance of the FormattingRule class, specify its Condition and Formatting properties and add this objects to a report's sheet of formatting rules (XtraReport.FormattingRuleSheet) and to the collection of formatting rules of a control or a band, to which it should be applied (XRControl.FormattingRules).


Viewing all articles
Browse latest Browse all 7205

Trending Articles