GroupItemFluentBuilder.AddGroupItem(Action<GroupItemFluentBuilder>) Method
Creates a group.
Namespace: DevExpress.XtraReports.Parameters
Assembly: DevExpress.Printing.v24.1.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 |
---|---|
See Also