GroupItemFluentBuilder.AddParameterItem(String, Action<ParameterItemFluentBuilder>) Method
Adds a report parameter editor to the UI. Accepts a report parameter name.
Namespace: DevExpress.XtraReports.Parameters
Assembly: DevExpress.Printing.v24.2.Core.dll
Declaration
public GroupItemFluentBuilder AddParameterItem(
string parameterName,
Action<ParameterItemFluentBuilder> configuration = null
)
Parameters
Name | Type | Description |
---|---|---|
parameterName | String | A report parameter name. |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
configuration | Action<ParameterItemFluentBuilder> | null | An action that customizes the report parameter editor. |
Returns
Type | Description |
---|---|
GroupItemFluentBuilder | 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("customer", p => p
.WithLabelOrientation(Orientation.Vertical))
.End();
Default panel | Panel with a customized parameter |
---|---|
See Also