BootstrapTagBoxValues<TKey>.CustomTagTexts Property

Returns a collection of custom tags (values that are not listed in the Tag Box control but manually entered by an end-user).

Namespace: DevExpress.AspNetCore.Bootstrap

Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll


public List<string> CustomTagTexts { get; set; }
Public Property CustomTagTexts As List(Of String)

Property Value

Type Description

A collection of custom tags.



Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

Using the CustomTagTexts property makes only sense once custom tags are activated in the Tag Box control. To do this, enable the AllowCustomTags property.

The code below demonstrates this member in action.

 @model BootstrapTagBoxValues<int>

<form method="post">
        .BootstrapTagBoxFor(m => m)
        .Items(items =>
              .Text("Item 1")
    <button type="submit" class="btn btn-primary">Submit</button>

For more information on the Tag Box control, refer to the Tag Box online demo.

See Also