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.v22.1.Core.dll

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.Win.Dashboard.Design

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