Skip to main content
All docs
V24.2

GroupItemFluentBuilder.WithOrientation(Orientation) Method

Specifies whether group parameters are placed vertically or horizontally.

Namespace: DevExpress.XtraReports.Parameters

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

Declaration

public GroupItemFluentBuilder WithOrientation(
    Orientation orientation
)

Parameters

Name Type Description
orientation Orientation

The orientation type.

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)
    .AddGroupItem(g => g
        .AddParameterItem(report.Parameters[0], p0 => p0
            .WithLabelOrientation(Orientation.Vertical))
        .AddParameterItem(report.Parameters[1], p1 => p1
            .WithLabelOrientation(Orientation.Vertical))
        .WithTitle("Select a customer")
        .WithOrientation(Orientation.Horizontal))
.End();
orientation = Vertical (Default) orientation = Horizontal
orientation = Vertical (Default) orientation = Horizontal
See Also