Skip to main content

FormatConditionExpression Class

A format condition used to apply formatting according to the specified expression.

Declaration

export class FormatConditionExpression extends FormatConditionStyleBase

constructor

Initializes a new instance of the FormatConditionExpression class.

Declaration

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

Parameters

Name Type Description
modelJson any

A JSON object used for dashboard deserialization. Do not pass this parameter directly.

serializer ModelSerializer

An object used for dashboard deserialization. Do not pass this parameter directly.

Properties

expression Property

Declaration

expression: ko.Observable<string>

Property Value

Type
Observable<string>

getSpecificType Property

Declaration

getSpecificType: () => any

Property Value

Type
() => any

setSpecificType Property

Declaration

setSpecificType: (type: string) => void

Property Value

Type
(type: string) => void