Skip to main content
All docs
V24.1

Orientation Enum

Lists orientation types for a report parameter and group.

Namespace: DevExpress.XtraReports.Parameters

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

NuGet Package: DevExpress.Printing.Core

Declaration

[ResourceFinder(typeof(ResFinder))]
[TypeConverter(typeof(EnumTypeConverter))]
public enum Orientation

Members

Name Description
Horizontal

Places elements horizontally.

Vertical

Places elements vertically.

Related API Members

The following properties accept/return Orientation values:

Example

Specify a Parameter Name and Editor Orientation

using DevExpress.XtraReports.Parameters;
// ...
using Orientation = DevExpress.XtraReports.Parameters.Orientation;
// ...
ParameterPanelFluentBuilder.Begin(report)
    .AddParameterItem(report.Parameters[0], p => p
        .WithLabelOrientation(Orientation.Vertical))
.End();
orientation = Horizontal (Default) orientation = Vertical
orientation = Horizontal (Default) orientation = Vertical

Specify Group Parameters Orientation

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