CardRowTextElement Class
In This Article
A card element that displays static text.
#Declaration
TypeScript
export class CardRowTextElement extends CardRowTextElementBase
#Remarks
Use the CardRow.Elements property to access a row’s elements. Refer to the CardLayoutTemplate class description to learn how to manage the layout of cards in the CardItem.
#Inheritance
#constructor
Initializes a new instance of the CardRowTextElement
class.
#Declaration
TypeScript
constructor(
modelJson?: any,
serializer?: DevExpress.Analytics.Utils.ModelSerializer
)
#Parameters
Name | Type | Description |
---|---|---|
model |
any | A JSON object used for dashboard deserialization. Do not pass this parameter directly. |
serializer | Model |
An object used for dashboard deserialization. Do not pass this parameter directly. |
#Properties
#text Property
#Declaration
TypeScript
text: ko.Observable<string>
#Property Value
Type |
---|
Observable<string> |
#Methods
#getInfo Method
For internal use.
#Declaration
TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray
#Returns
Type | Description |
---|---|
ISerialization |
An array of objects that provide serialization info. |