Back to Devexpress

CardViewLayoutItemCollection.AddColumnItem(String) Method

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

latest1.7 KB
Original Source

CardViewLayoutItemCollection.AddColumnItem(String) Method

Creates a new item assigned to the specified column name 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
)
vb
Public Function AddColumnItem(
    columnName 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.

|

Returns

TypeDescription
CardViewColumnLayoutItem

An CardViewColumnLayoutItem object that is the newly added layout item.

|

See Also

CardViewLayoutItemCollection Class

CardViewLayoutItemCollection Members

DevExpress.Web Namespace