ParameterItemFluentBuilder.WithLabelOrientation(Orientation) Method
In This Article
Specifies whether a parameter name and editor should be placed vertically or horizontally.
Namespace: DevExpress.XtraReports.Parameters
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public ParameterItemFluentBuilder WithLabelOrientation(
Orientation labelOrientation
)
#Parameters
Name | Type | Description |
---|---|---|
label |
Orientation | The orientation type. |
#Returns
Type | Description |
---|---|
Parameter |
A parameter builder, so you can chain additional methods that customize the parameter. |
#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