Skip to main content
All docs
V24.2

LayoutDimensionOptions.Mode Property

Gets or sets whether a dashboard surface‘s height or width is fixed or adjusted to fit content.

Namespace: DevExpress.DashboardCommon

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

NuGet Package: DevExpress.Dashboard.Core

#Declaration

[DefaultValue(LayoutDimensionMode.Auto)]
public LayoutDimensionMode Mode { get; set; }

#Property Value

Type Default Description
LayoutDimensionMode Auto

The dashboard layout mode.

Available values:

Name Description
Auto

The height or width of a dashboard surface fits to content.

Fixed

The height or width of a dashboard surface is set in pixels according to the LayoutDimensionOptions.Value property.

#Property Paths

You can access this nested property as listed below:

Object Type Path to Mode
LayoutOptions
.Height .Mode
LayoutOptions
.Width .Mode
See Also