Back to Devexpress

LayoutDimensionOptions.Mode Property

dashboard-devexpress-dot-dashboardcommon-dot-layoutdimensionoptions.md

latest2.1 KB
Original Source

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.v25.2.Core.dll

NuGet Package : DevExpress.Dashboard.Core

Declaration

csharp
[DefaultValue(LayoutDimensionMode.Auto)]
public LayoutDimensionMode Mode { get; set; }
vb
<DefaultValue(LayoutDimensionMode.Auto)>
Public Property Mode As LayoutDimensionMode

Property Value

TypeDefaultDescription
LayoutDimensionModeAuto

The dashboard layout mode.

|

Available values:

NameDescription
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 TypePath to Mode
LayoutOptions

.Height .Mode

| | LayoutOptions |

.Width .Mode

|

See Also

LayoutDimensionOptions Class

LayoutDimensionOptions Members

DevExpress.DashboardCommon Namespace