[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.Grouping.Enabled

Enabled Property

Enabled

Gets or sets a value indicating whether the grouping is enabled.

Declaration
public ExpressionInfo Enabled { get; set; }
Property Value
Type Description
ExpressionInfo

An ExpressionInfo object representing an expression which should be evaluated to true or false value to specify whether the grouping is enabled or not.

Remarks

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.

Examples
Grouping group = new Grouping();
group.Enabled = ExpressionInfo.FromString("=Parameters!GroupByCategory.Value");