GroupItemFluentBuilder.AddParameterItem(Parameter, Action<ParameterItemFluentBuilder>) Method
In This Article
Adds a report parameter editor to the UI. Accepts a report parameter object.
Namespace: DevExpress.XtraReports.Parameters
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public GroupItemFluentBuilder AddParameterItem(
Parameter parameter,
Action<ParameterItemFluentBuilder> configuration = null
)
#Parameters
Name | Type | Description |
---|---|---|
parameter | Parameter | A report parameter object. |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
configuration | Action<Parameter |
null | An action that customizes the report parameter editor. |
#Returns
Type | Description |
---|---|
Group |
A group builder, so you can chain additional methods that customize the group. |
#Example
using DevExpress.XtraReports.Parameters;
// ...
using Orientation = DevExpress.XtraReports.Parameters.Orientation;
// ...
ParameterPanelFluentBuilder.Begin(report)
.AddParameterItem(report.Parameters[0], p => p
.WithLabelOrientation(Orientation.Vertical))
.End();
Default panel | Panel with a customized parameter |
---|---|
![]() |
![]() |
See Also