CardRowTextElementBase Class

Serves as the base for classes that are card elements displaying text data.

Declaration

export abstract class CardRowTextElementBase extends CardRowElement

Remarks

Refer to the CardLayoutTemplate class description to learn how to manage the layout of cards in the CardItem.

constructor

Initializes a new instance of the CardRowTextElementBase class.

Declaration

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

Optional Parameters

Name Type Default Description
modelJson any null

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

serializer ModelSerializer null

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

Properties

color Property

Declaration

color: ko.Observable<number>

Property Value

Type Description
ko.Observable<number>

fontFamily Property

Declaration

fontFamily: ko.Observable<string>

Property Value

Type Description
ko.Observable<string>

fontSize Property

Declaration

fontSize: ko.Observable<number>

Property Value

Type Description
ko.Observable<number>

predefinedForeColor Property

Declaration

predefinedForeColor: ko.Observable<string>

Property Value

Type Description
ko.Observable<string>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.