Skip to main content

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

Allows you to define the key field.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

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