Skip to main content
A newer version of this page is available. .

CardItemFormatRule(DataItem, CardFormatRuleLayoutElement) Constructor

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

Namespace: DevExpress.DashboardCommon

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

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.WindowsDesktop.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