Skip to main content
A newer version of this page is available. .

TreeListSettings<RowType>.KeyField<ValueType>(Expression<Func<RowType, ValueType>>) Method

Allows defining the key field.

Namespace: DevExpress.Web.Mvc

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

Declaration

public void KeyField<ValueType>(
    Expression<Func<RowType, ValueType>> keyExpression
)

Parameters

Name Type Description
keyExpression Expression<Func<RowType, ValueType>>

An expression that identifies a key field.

Type Parameters

Name
ValueType
See Also