Skip to main content
A newer version of this page is available. .
All docs
V21.2

GroupItemFluentBuilder.AddGroupItem(Action<GroupItemFluentBuilder>) Method

Creates a group.

Namespace: DevExpress.XtraReports.Parameters

Assembly: DevExpress.Printing.v21.2.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public GroupItemFluentBuilder AddGroupItem(
    Action<GroupItemFluentBuilder> configuration
)

Parameters

Name Type Description
configuration Action<GroupItemFluentBuilder>

An action that customizes the group.

Returns

Type Description
GroupItemFluentBuilder

A builder, so you can chain additional methods that customize the panel.

Example

using DevExpress.XtraReports.Parameters;
// ...
ParameterPanelFluentBuilder.Begin(report)
    .AddGroupItem(g => g
        .WithTitle("Select a customer")
        .AddParameterItem(report.Parameters[0])
        .AddParameterItem(report.Parameters[1]))
.End();
Default panel Panel with a group
Default panel Panel with a group
See Also