LayoutOptions.Height Property
Provides access to the dashboard surface‘s height options.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.1.Core.dll
NuGet Package: DevExpress.Dashboard.Core
Declaration
Property Value
Type | Description |
---|---|
LayoutDimensionOptions | A LayoutDimensionOptions object that contains options for dimensions of a dashboard surface. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to Height |
---|---|
Dashboard |
|
Remarks
The following code snippet specifies the height and aligns the dashboard’s content horizontally:
using DevExpress.DashboardCommon;
namespace WinDashboardlayout {
public partial class DesignerForm1 : DevExpress.XtraBars.Ribbon.RibbonForm {
public DesignerForm1() {
InitializeComponent();
dashboardDesigner.CreateRibbon();
dashboardDesigner.LoadDashboard(@"Dashboards\dashboard1.xml");
dashboardDesigner.Dashboard.LayoutOptions.Width.Mode = LayoutDimensionMode.Auto;
dashboardDesigner.Dashboard.LayoutOptions.Height.Mode = LayoutDimensionMode.Fixed;
dashboardDesigner.Dashboard.LayoutOptions.Height.Value = 1080;
}
}
}
See Also