CardRowTextElement(String, CardHorizontalAlignment, Nullable<Single>, Nullable<Color>) Constructor

Initializes a new instance of the CardRowTextElement class.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v18.1.Core.dll


public CardRowTextElement(
    string text,
    CardHorizontalAlignment horizontalAlignment,
    float ? fontSize,
    Color? foreColor


Type Name Description
String text

A String value that specifies a static text displayed within the visual element.

CardHorizontalAlignment horizontalAlignment

A CardHorizontalAlignment value that specifies the horizontal alignment of a visual element within a card layout row.

System.Nullable<Single> fontSize

A Single value the specifies the text's font size.

System.Nullable<Color> foreColor

A Color value that specifies the color used to paint the text.