Skip to main content

MVCxCardViewColumnCollection.Add(String, String, MVCxCardViewColumnType) Method

Adds a new column to the collection and specifies the column’s caption, type and bound field name.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxCardViewColumn Add(
    string fieldName,
    string caption,
    MVCxCardViewColumnType columnType
)

Parameters

Name Type Description
fieldName String

The name of the field to which the column is bound

caption String

A string value that is the column caption.

columnType MVCxCardViewColumnType

One of the MVCxCardViewColumnType enumeration value that is a column type.

Returns

Type Description
MVCxCardViewColumn

A MVCxCardViewColumn object that is the newly added column.

See Also