Skip to main content
Tab

CardViewLayoutItemCollection.AddColumnItem(String, String) Method

Creates a new item with the specified setting and adds it to the CardViewLayoutItemCollection collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public CardViewColumnLayoutItem AddColumnItem(
    string columnName,
    string caption
)

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.

caption String

A String value specifying the item caption.

Returns

Type Description
CardViewColumnLayoutItem

A CardViewColumnLayoutItem object that is the newly added layout item.

See Also