Back to Devexpress

MVCxCardViewFormatConditionCollection.AddTopBottom(Action<CardViewFormatConditionTopBottom>) Method

aspnetmvc-devexpress-dot-web-dot-mvc-dot-mvcxcardviewformatconditioncollection-dot-addtopbottom-x28-system-dot-action-devexpress-dot-web-dot-cardviewformatconditiontopbottom-x29.md

latest2.2 KB
Original Source

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public CardViewFormatConditionTopBottom AddTopBottom(
    Action<CardViewFormatConditionTopBottom> method
)
vb
Public Function AddTopBottom(
    method As Action(Of CardViewFormatConditionTopBottom)
) As CardViewFormatConditionTopBottom

Parameters

NameTypeDescription
methodAction<CardViewFormatConditionTopBottom>

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

|

Returns

TypeDescription
CardViewFormatConditionTopBottom

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

|

See Also

MVCxCardViewFormatConditionCollection Class

MVCxCardViewFormatConditionCollection Members

DevExpress.Web.Mvc Namespace