A newer version of this page is available.

MVCxGridViewLayoutItemCollection.AddColumnItem(GridViewColumnLayoutItem) Method

Adds the specified item to the MVCxGridViewLayoutItemCollection collection.

Namespace: DevExpress.Web.Mvc

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

Declaration

public GridViewColumnLayoutItem AddColumnItem(
    GridViewColumnLayoutItem layoutItem
)
Public Function AddColumnItem(
    layoutItem As GridViewColumnLayoutItem
) As GridViewColumnLayoutItem

Parameters

Name Type Description
layoutItem GridViewColumnLayoutItem

A GridViewColumnLayoutItem object to add to the layout item collection.

Returns

Type Description
GridViewColumnLayoutItem

A GridViewColumnLayoutItem object that is the newly added layout item.

See Also