Skip to main content

FormatConditionExpression Class

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

#Declaration

TypeScript
export class FormatConditionExpression extends FormatConditionStyleBase

#constructor

Initializes a new instance of the FormatConditionExpression class.

#Declaration

TypeScript
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

TypeScript
expression: ko.Observable<string>

#Property Value

Type
Observable<string>

#getSpecificType Property

#Declaration

TypeScript
getSpecificType: () => any

#Property Value

Type
() => any

#setSpecificType Property

#Declaration

TypeScript
setSpecificType: (type: string) => void

#Property Value

Type
(type: string) => void