TreeViewItemTagHelper

Example

Razor
<treeview-item>
    <items></items>
</treeview-item>

ChildTags

Tag NameDetails
itemsTreeViewNestedItemsTagHelper

Attributes

AttributeTypeDescription
checkedBooleanSpecifies whether the item is initially checked. True by default.
content-html-attributesIDictionary<String,Object>Specifies the attributes added to the content element of the item.
enabledBooleanSpecifies whether the item is initially enabled. True by default.
expandedBooleanSpecifies whether the item is initially expanded
html-attributesIDictionary<String,Object>Specifies the attributes added to the item
idStringSpecifies the data-id attribute of the item
image-html-attributesIDictionary<String,Object>Specifies the attributes added to the item's image.
image-urlStringSpecifies the URL of the image displayed by the item
link-html-attributesIDictionary<String,Object>Specifies the attributes added to the item's element
selectedBooleanSpecifies whether the item is initially selected
sprite-css-classStringSpecifies the class name for the sprite image displayed by the item
textStringSpecifies the text displayed by the item
urlStringSpecifies the URL that the item will link to. Used for navigational trees.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support