A newer version of this page is available.

MVCxCardViewLayoutItemCollection.AddColumnItem(String, String) Method

Creates a new item with the specified settings and adds it to the MVCxCardViewLayoutItemCollection collection.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll


public CardViewColumnLayoutItem AddColumnItem(
    string columnName,
    string caption
Public Function AddColumnItem(
    columnName As String,
    caption As String
) As CardViewColumnLayoutItem


Name Type Description
columnName String

A String value that identifies a column assigned to the current item. The specified string can be either: a column name, field name, or caption.

caption String

A String value specifying the item caption.


Type Description

A CardViewColumnLayoutItem object that is the newly added layout item.

See Also