corelibraries-devexpress-dot-xtrareports-dot-parameters-90c9f4da.md
Lists orientation types for a report parameter and group.
Namespace : DevExpress.XtraReports.Parameters
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
[ResourceFinder(typeof(ResFinder))]
public enum Orientation
<ResourceFinder(GetType(ResFinder))>
Public Enum Orientation
| Name | Description |
|---|---|
Horizontal |
Places elements horizontally.
|
| Vertical |
Places elements vertically.
|
The following properties accept/return Orientation values:
using DevExpress.XtraReports.Parameters;
// ...
using Orientation = DevExpress.XtraReports.Parameters.Orientation;
// ...
ParameterPanelFluentBuilder.Begin(report)
.AddParameterItem(report.Parameters[0], p => p
.WithLabelOrientation(Orientation.Vertical))
.End();
Imports DevExpress.XtraReports.Parameters
' ...
Imports Orientation = DevExpress.XtraReports.Parameters.Orientation
' ...
ParameterPanelFluentBuilder.Begin(report).
AddParameterItem(report.Parameters(0), Function(p) p.
WithLabelOrientation(Orientation.Vertical)).
End()
| orientation = Horizontal (Default) | orientation = Vertical |
|---|---|
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();
Imports DevExpress.XtraReports.Parameters
' ...
Imports Orientation = DevExpress.XtraReports.Parameters.Orientation
' ...
ParameterPanelFluentBuilder.Begin(report).
AddGroupItem(Function(g) g.
AddParameterItem(report.Parameters(0), Function(p0) p0.
WithLabelOrientation(Orientation.Vertical)).
AddParameterItem(report.Parameters(1), Function(p1) p1.
WithLabelOrientation(Orientation.Vertical)).
WithTitle("Select a customer").
WithOrientation(Orientation.Horizontal)).
End()
| orientation = Vertical (Default) | orientation = Horizontal |
|---|---|
See Also