ExtensionsFactory<ModelType>.TokenBoxFor<ValueType>(Expression<Func<ModelType, ValueType>>, Action<TokenBoxSettings>) Method
In This Article
Creates a TokenBox.
Namespace: DevExpress.Web.Mvc.UI
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public TokenBoxExtension TokenBoxFor<ValueType>(
Expression<Func<ModelType, ValueType>> expression,
Action<TokenBoxSettings> method
)
#Parameters
Name | Type | Description |
---|---|---|
expression | Expression<Func<Model |
An expression that identifies the object that contains the properties to edit and display. |
method | Action<Token |
A delegate method that accepts Token |
#Type Parameters
Name |
---|
Value |
#Returns
Type | Description |
---|---|
Token |
A Token |
See Also