Skip to main content

CardViewExtension.BindToCustomData(CardViewModel) Method

Binds the CardView to a custom data model when you use the extension in the custom data binding mode.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public CardViewExtension BindToCustomData(
    CardViewModel viewModel
)

Parameters

Name Type Description
viewModel CardViewModel

A CardViewModel object representing the CardView view model to which to bind.

Returns

Type Description
CardViewExtension

A CardViewExtension object representing the CardView extension.

Remarks

Refer to the Custom Data Binding topic to learn more.

See Also