Skip to main content

CardViewExtension(CardViewSettings<CardType>, ViewContext) Constructor

Initializes a new instance of the CardViewExtension<CardType> class with the specified settings and provides the context information about the view.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public CardViewExtension(
    CardViewSettings<CardType> settings,
    ViewContext viewContext
)

Parameters

Name Type Description
settings CardViewSettings<CardType>

An object containing extension specific settings.

viewContext ViewContext

A ViewContext object that is the view context.

See Also