Skip to main content

FormatConditionStyleBase Class

Serves as a base for classes used to apply conditional formatting by modifying style settings.

Declaration

export abstract class FormatConditionStyleBase extends FormatConditionBase

constructor

Initializes a new instance of the FormatConditionStyleBase 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

styleSettings Property

Declaration

styleSettings: ko.Observable<DevExpress.Dashboard.Model.StyleSettingsBase>

Property Value

Type
Observable<StyleSettingsBase>

Methods

getDefaultStyleSettingsType Method

Declaration

getDefaultStyleSettingsType(): string

Returns

Type
string

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.

init Method

Declaration

init(): void

isValid Method

Declaration

isValid(): boolean

Returns

Type
boolean