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

Declaration

public MVCxGridViewColumnLayoutItem Add(
    Action<MVCxGridViewColumnLayoutItem> method
)
Public Function Add(
    method As Action(Of MVCxGridViewColumnLayoutItem)
) As MVCxGridViewColumnLayoutItem

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