Skip to main content

VerticalGridSettings<ColumnType>.KeyFields<ValueType>(Expression<Func<ColumnType, ValueType>>[]) Method

Allows you to define the key fields.

Namespace: DevExpress.Web.Mvc

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

Declaration

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

Parameters

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

An expression that identifies a key field.

Type Parameters

Name
ValueType
See Also