ExtensionsFactory<ModelType>.TokenBoxFor<ValueType>(Expression<Func<ModelType, ValueType>>) Method

Creates a TokenBox.

Namespace: DevExpress.Web.Mvc.UI

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

Declaration

public TokenBoxExtension TokenBoxFor<ValueType>(
    Expression<Func<ModelType, ValueType>> expression
)

Parameters

Name Type Description
expression Expression<Func<ModelType, ValueType>>

An expression that identifies the object that contains the properties to edit or display.

Type Parameters

Name
ValueType

Returns

Type Description
TokenBoxExtension

A TokenBoxExtension object implementing the TokenBox functionality.

See Also