MVCxGridViewLayoutItemCollection<ModelType>.AddGroupItem(Action<MVCxGridViewLayoutGroup<ModelType>>) Method

Adds a new group item to the MVCxGridViewLayoutItemCollection<ModelType> 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 MVCxGridViewLayoutGroup<ModelType> AddGroupItem(
    Action<MVCxGridViewLayoutGroup<ModelType>> method
)
Public Function AddGroupItem(
    method As Action(Of MVCxGridViewLayoutGroup(Of ModelType))
) As MVCxGridViewLayoutGroup(Of ModelType)

Parameters

Name Type Description
method Action<MVCxGridViewLayoutGroup<ModelType>>

A delegate method that accepts the created MVCxGridViewLayoutGroup<ModelType> as a parameter.

Returns

Type Description
MVCxGridViewLayoutGroup<ModelType>

A MVCxGridViewLayoutGroup<ModelType> object that is the newly added group item.

See Also