GroupItemFluentBuilder.GetParameterItem(Parameter, Action<ParameterItemFluentBuilder>) Method
Applies a customization action to the specified parameter.
Namespace: DevExpress.XtraReports.Parameters
Assembly: DevExpress.Printing.v24.1.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
public GroupItemFluentBuilder GetParameterItem(
Parameter parameter,
Action<ParameterItemFluentBuilder> configuration
)
Parameters
Name | Type | Description |
---|---|---|
parameter | Parameter | A report parameter object. |
configuration | Action<ParameterItemFluentBuilder> | A customization action. |
Returns
Type | Description |
---|---|
GroupItemFluentBuilder | A builder, so you chain additional methods that customize the panel. |
Example
using DevExpress.XtraReports.Parameters;
// ...
using Orientation = DevExpress.XtraReports.Parameters.Orientation;
// ...
ParameterPanelFluentBuilder.Begin(report)
.GetParameterItem(report.Parameters[0], p => p
.WithLabelOrientation(Orientation.Horizontal))
.End();
Initial panel | Modified panel |
---|---|
See Also