BootstrapTagBoxValues<TKey>.TagValues Property
In This Article
Returns a collection of predefined tags (values that an end-user can select from a Tag Box list).
Namespace: DevExpress.AspNetCore.Bootstrap
Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
List<TKey> | A collection of predefined tags. |
#Remarks
IMPORTANT
Bootstrap Controls for ASP.
The code below demonstrates this member in action.
@model BootstrapTagBoxValues<int>
<form method="post">
@(Html.DevExpress()
.BootstrapTagBoxFor(m => m)
.AllowCustomTags(true)
.Items(items =>
{
items.Add()
.Text("Item 1")
.Value(1);
}))
<button type="submit" class="btn btn-primary">Submit</button>
</form>
For more information on the Tag Box control, refer to the Tag Box online demo.
See Also