A newer version of this page is available. Switch to the current version.

MVCxCardViewLayoutItemCollection.Add(String) Method

Creates a new item assigned to the specified column name and adds it to the MVCxCardViewLayoutItemCollection collection.

Namespace: DevExpress.Web.Mvc

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

Declaration

public MVCxCardViewColumnLayoutItem Add(
    string columnName
)
Public Function Add(
    columnName As String
) As MVCxCardViewColumnLayoutItem

Parameters

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.

Returns

Type Description
MVCxCardViewColumnLayoutItem

An MVCxCardViewColumnLayoutItem object that is the newly added layout item.

See Also