ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.Web.Mvc.TagHelpers Namespace / ListBoxTagHelper Class / ItemRole Property

In This Topic
    ItemRole Property (ListBoxTagHelper)
    In This Topic
    Configurates C1.Web.Mvc.ListBox<T>.ItemRole. Sets the value of the "role" attribute added to the list items.
    Syntax
    'Declaration
     
    Public Property ItemRole As String
    public string ItemRole {get; set;}
    Remarks
    The default value for this property is "option".
    See Also