Skip to main content
All docs
V24.2

ParameterItemFluentBuilder.WithLabelOrientation(Orientation) Method

Specifies whether a parameter name and editor should be placed vertically or horizontally.

Namespace: DevExpress.XtraReports.Parameters

Assembly: DevExpress.Printing.v24.2.Core.dll

Declaration

public ParameterItemFluentBuilder WithLabelOrientation(
    Orientation labelOrientation
)

Parameters

Name Type Description
labelOrientation Orientation

The orientation type.

Returns

Type Description
ParameterItemFluentBuilder

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
Default panel Panel with a customized parameter
See Also