You are viewing help content for pre-release software. This document and the features it describes are subject to change.

BootstrapCardViewBuilderBase<T>.KeyFieldName(String) Method

Sets the name of the data source key field.

Namespace: DevExpress.AspNetCore.Bootstrap

Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll


public T KeyFieldName(
    string keyFieldName
Public Function KeyFieldName(
    keyFieldName As String
) As T


Name Type Description
keyFieldName String

A string value that specifies the name of the data source key field.


Type Description

A reference to this instance after the operation is completed.



Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

Some operations (e.g., editing and grouping) require a key field to be specified. Use the KeyFieldName method for this purpose.

@model IEnumerable<Email>

    .Columns(columns => {
    .Routes(routes => routes
        .MapRoute(r => r.Action("Binding").Controller("CardView")))
See Also