Skip to main content

CardViewSettings<CardType>.KeyFields<ValueType>(Expression<Func<CardType, ValueType>>[]) Method

Allows you to define the key fields.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void KeyFields<ValueType>(
    params Expression<Func<CardType, ValueType>>[] keyExpressions
)

Parameters

Name Type Description
keyExpressions Expression<Func<CardType, ValueType>>[]

An expression that identifies a key field.

Type Parameters

Name
ValueType
See Also