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

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

Declaration

public CardViewExtension BindToCustomData(
    CardViewModel viewModel
)
Public Function BindToCustomData(
    viewModel As CardViewModel
) As CardViewExtension

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