GroupItemFluentBuilder.WithShowExpandButton(Boolean) Method
In This Article
Specifies whether to show the group’s expand/collapse button.
Namespace: DevExpress.XtraReports.Parameters
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public GroupItemFluentBuilder WithShowExpandButton(
bool showExpandButton
)
#Parameters
Name | Type | Description |
---|---|---|
show |
Boolean | true, to show the button; otherwise, false. |
#Returns
Type | Description |
---|---|
Group |
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();
show |
show |
---|---|
![]() |
![]() |
See Also