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

Initializes a new instance of the CardRowTextElement class.

Namespace: DevExpress.DashboardCommon

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


public CardRowTextElement(
    string text,
    CardHorizontalAlignment horizontalAlignment,
    float? fontSize,
    CardPredefinedColor predefinedForeColor
Public Sub New(
    text As String,
    horizontalAlignment As CardHorizontalAlignment,
    fontSize As Single?,
    predefinedForeColor As CardPredefinedColor


Name Type Description
text String

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

horizontalAlignment CardHorizontalAlignment

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

fontSize Nullable<Single>

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

predefinedForeColor CardPredefinedColor

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

See Also