Skip to main content

MVCxGridViewLayoutItemCollection.Add(Action<MVCxGridViewColumnLayoutItem>) Method

Adds a new item to the MVCxGridViewLayoutItemCollection collection and allows you to customize this item in a delegate method implementation.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxGridViewColumnLayoutItem Add(
    Action<MVCxGridViewColumnLayoutItem> method
)

Parameters

Name Type Description
method Action<MVCxGridViewColumnLayoutItem>

A delegate method that accepts the created MVCxGridViewColumnLayoutItem as a parameter.

Returns

Type Description
MVCxGridViewColumnLayoutItem

A MVCxGridViewColumnLayoutItem object that is the newly added layout item.

See Also