CardLayoutTemplate Class

Serves as the base for classes that define a layout template for the CardDashboardItem.

Namespace: DevExpress.DashboardCommon

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

Declaration

public abstract class CardLayoutTemplate :
    ICardLayoutContext

Remarks

The CardDashboardItem item allows you to specify a layout of individual cards from the CardDashboardItem.Cards collection.

The Card object exposes the Card.LayoutTemplate property that allows you to set a predefined layout template or to create a custom layout.

To learn more about the available layouts, see the following topics:

Note

If you assign a null value to the Card.LayoutTemplate property, the CardDashboardItem will use the legacy card layout used prior v17.1.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CardLayoutTemplate class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also