Skip to main content

MVCxCardViewFormatConditionCollection.AddTopBottom(Action<CardViewFormatConditionTopBottom>) Method

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

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public CardViewFormatConditionTopBottom AddTopBottom(
    Action<CardViewFormatConditionTopBottom> method
)

Parameters

Name Type Description
method Action<CardViewFormatConditionTopBottom>

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

Returns

Type Description
CardViewFormatConditionTopBottom

A CardViewFormatConditionTopBottom object that is the newly created format condition item.

See Also