[]
Gets or sets a value indicating whether the grouping is enabled.
public ExpressionInfo Enabled { get; set; }
Type | Description |
---|---|
ExpressionInfo | An ExpressionInfo object representing an expression which should be evaluated to
|
The grouping is enabled by default. When the expression evaluates to false, the grouping will be ignored. Note that the expression cannot contain data references (like fields, aggregate functions) and render-time functions (RowNumber, etc.). Only the constants, conditional operators, common functions, and parameters are allowed.
Grouping group = new Grouping();
group.Enabled = ExpressionInfo.FromString("=Parameters!GroupByCategory.Value");