Skip to main content
All docs
V24.1

GroupItemFluentBuilder.WithShowExpandButton(Boolean) Method

Specifies whether to show the group’s expand/collapse button.

Namespace: DevExpress.XtraReports.Parameters

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public GroupItemFluentBuilder WithShowExpandButton(
    bool showExpandButton
)

Parameters

Name Type Description
showExpandButton Boolean

true, to show the button; otherwise, false.

Returns

Type Description
GroupItemFluentBuilder

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

Example

using DevExpress.XtraReports.Parameters;
// ...
ParameterPanelFluentBuilder.Begin(report)
    .AddGroupItem(g => g
        .AddParameterItem(report.Parameters[0])
        .AddParameterItem(report.Parameters[1])
        .WithTitle("Select a customer")
        .WithShowExpandButton(true))
.End();
showExpandButton = false (Default) showExpandButton = true
showExpandButton = false (Default) showExpandButton = true
See Also