Back to Devexpress

CardViewLayoutItemCollection.AddColumnItem(String, String) Method

aspnet-devexpress-dot-web-dot-cardviewlayoutitemcollection-dot-addcolumnitem-x28-system-dot-string-system-dot-string-x29.md

latest1.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Parameters

NameTypeDescription
columnNameString

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

TypeDescription
CardViewColumnLayoutItem

A CardViewColumnLayoutItem object that is the newly added layout item.

|

See Also

CardViewLayoutItemCollection Class

CardViewLayoutItemCollection Members

DevExpress.Web Namespace