Skip to main content
A newer version of this page is available. .
All docs
V21.2

DxDashboard.UseCardLegacyLayout Property

Specifies whether to enable the legacy card layout used before v17.1.

Namespace: DevExpress.DashboardBlazor

Assembly: DevExpress.Dashboard.v21.2.Blazor.dll

NuGet Package: DevExpress.Blazor.Dashboard

Declaration

[Parameter]
public bool UseCardLegacyLayout { get; set; }

Property Value

Type Description
Boolean

true to enable the legacy card layout used before v17.1; otherwise, false.

Remarks

Starting with v17.1, you can use different layout types (Stretched, Compact, etc.) to arrange elements within individual cards in the Card dashboard item (Stretched is the default layout). Stretched layout arranges card elements so that they occupy an entire card area.

The UseCardLegacyLayout property allows you to create cards in a legacy layout in the Web Dashboard’s UI.

Note

Note that cards are displayed in the old layout if you load a dashboard XML file created before v17.1. To display such cards with a new layout, specify the required layout type in the UI or in code.

Cards that use a legacy layout do not support conditional formatting.

See Also