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

Allows defining the key field.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v21.1.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