Skip to main content

CardItemFormatRuleBase Class

#Declaration

TypeScript
export abstract class CardItemFormatRuleBase extends DashboardItemFormatRule

#constructor

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

#Declaration

TypeScript
constructor(
    modelJson?: any,
    serializer?: DevExpress.Analytics.Utils.ModelSerializer
)

#Parameters

Name Type
modelJson any
serializer ModelSerializer

#Properties

#applyToCard Property

#Declaration

TypeScript
applyToCard: ko.Observable<boolean>

#Property Value

Type
Observable<boolean>

#cardLayoutElement Property

#Declaration

TypeScript
cardLayoutElement: DevExpress.Dashboard.Model.CardFormatRuleRowElement

#Property Value

Type
CardFormatRuleRowElement

#layoutItemApplyTo Property

#Declaration

TypeScript
layoutItemApplyTo: ko.Computed<string>

#Property Value

Type
Computed<string>