Skip to main content
A newer version of this page is available. .
All docs
V21.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.v21.2.Core.dll

NuGet Package: DevExpress.Printing.Core

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