Skip to main content

CardItemFormatRule(DataItem, CardFormatRuleLayoutElement) Constructor

Initializes a new instance of the CardItemFormatRule class with specified settings.

Namespace: DevExpress.DashboardCommon

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

NuGet Package: DevExpress.Dashboard.Core

Declaration

public CardItemFormatRule(
    DataItem dataItem,
    CardFormatRuleLayoutElement layoutElementType
)

Parameters

Name Type Description
dataItem DataItem

A DataItem object for whose values a format rule applies.

layoutElementType CardFormatRuleLayoutElement

A CardFormatRuleLayoutElement object that specifies the card’s layout elements to which the format rule applies.

See Also