A newer version of this page is available. Switch to the current version.

MVCxGridViewFormatConditionCollection.AddTopBottom(Action<GridViewFormatConditionTopBottom>) Method

Creates a new format condition item with the default settings, adds it to the MVCxGridViewFormatConditionCollection collection, and allows you to customize this item in a delegate method implementation.

Namespace: DevExpress.Web.Mvc

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


public GridViewFormatConditionTopBottom AddTopBottom(
    Action<GridViewFormatConditionTopBottom> method
Public Function AddTopBottom(
    method As Action(Of GridViewFormatConditionTopBottom)
) As GridViewFormatConditionTopBottom


Name Type Description
method Action<GridViewFormatConditionTopBottom>

A delegate method that accepts the created GridViewFormatConditionTopBottom object as a parameter.


Type Description

An GridViewFormatConditionTopBottom object that is the newly created format condition item.

See Also