Skip to main content
A newer version of this page is available. .

CardRowDataElement(CardRowDataElementType, Int32, CardHorizontalAlignment, Nullable<Single>, Nullable<Color>) Constructor

Initializes a new instance of the CardRowDataElement class.

Namespace: DevExpress.DashboardCommon

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

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.WindowsDesktop.Dashboard.Core

Declaration

public CardRowDataElement(
    CardRowDataElementType valueType,
    int dimensionIndex,
    CardHorizontalAlignment horizontalAlignment,
    float? fontSize,
    Color? foreColor
)

Parameters

Name Type Description
valueType CardRowDataElementType

A CardRowDataElementType value that specifies the type of a value displayed within a card layout row.

dimensionIndex Int32

An index of the dimension that provides values for the current card element.

horizontalAlignment CardHorizontalAlignment

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

fontSize Nullable<Single>

A Single value that specifies the font size.

foreColor Nullable<Color>

A Color value that specifies the element’s color.

See Also