Back to Devexpress

DxDashboard.UseCardLegacyLayout Property

dashboard-devexpress-dot-dashboardblazor-dot-dxdashboard-3d8b398f.md

latest2.0 KB
Original Source

DxDashboard.UseCardLegacyLayout Property

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

Namespace : DevExpress.DashboardBlazor

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

NuGet Package : DevExpress.Blazor.Dashboard

Declaration

csharp
[Parameter]
public bool UseCardLegacyLayout { get; set; }
vb
<Parameter>
Public Property UseCardLegacyLayout As Boolean

Property Value

TypeDescription
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

DxDashboard Class

DxDashboard Members

DevExpress.DashboardBlazor Namespace