dashboard-devexpress-dot-dashboardcommon-dot-dashboardlayoutgroup-749896cc.md
Gets or sets the value specifying the orientation of layout items/groups within the group.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
[DefaultValue(DashboardLayoutGroupOrientation.Horizontal)]
public DashboardLayoutGroupOrientation Orientation { get; set; }
<DefaultValue(DashboardLayoutGroupOrientation.Horizontal)>
Public Property Orientation As DashboardLayoutGroupOrientation
| Type | Default | Description |
|---|---|---|
| DashboardLayoutGroupOrientation | Horizontal |
A DashboardLayoutGroupOrientation enumeration value specifying the orientation of layout items/groups within the group.
|
Available values:
| Name | Description |
|---|---|
| Vertical |
Items/groups within layout group are arranged vertically.
| | Horizontal |
Items/groups within layout group are arranged horizontally.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the Orientation property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-dashboard-json-data-source/CS/DashboardJsonExample/Form1.cs#L43
dashboard.RebuildLayout();
dashboard.LayoutRoot.Orientation = DashboardLayoutGroupOrientation.Vertical;
dashboardDesigner1.Dashboard = dashboard;
winforms-dashboard-data-federation/CS/DataFederationExample/Form1.cs#L56
dashboard.RebuildLayout();
dashboard.LayoutRoot.Orientation = DashboardLayoutGroupOrientation.Vertical;
dashboardDesigner1.Dashboard = dashboard;
winforms-dashboard-window-calculation-example/CS/WindowCalculationExample/TabPageLoadHelper.cs#L82
if ((copyTo is DashboardLayoutGroup) && (copyFrom is DashboardLayoutGroup))
((DashboardLayoutGroup)copyTo).Orientation = ((DashboardLayoutGroup)copyFrom).Orientation;
if (copyFrom is DashboardLayoutGroup)
winforms-dashboard-json-data-source/VB/DashboardJsonExample/Form1.vb#L41
dashboard.RebuildLayout()
dashboard.LayoutRoot.Orientation = DashboardLayoutGroupOrientation.Vertical
dashboardDesigner1.Dashboard = dashboard
winforms-dashboard-data-federation/VB/DataFederationExample/Form1.vb#L58
dashboard.RebuildLayout()
dashboard.LayoutRoot.Orientation = DashboardLayoutGroupOrientation.Vertical
dashboardDesigner1.Dashboard = dashboard
winforms-dashboard-window-calculation-example/VB/WindowCalculationExample/TabPageLoadHelper.vb#L98
copyTo.Weight = copyFrom.Weight
If(TypeOf copyTo Is DashboardLayoutGroup) AndAlso (TypeOf copyFrom Is DashboardLayoutGroup) Then CType(copyTo, DashboardLayoutGroup).Orientation = CType(copyFrom, DashboardLayoutGroup).Orientation
If TypeOf copyFrom Is DashboardLayoutGroup Then
See Also