TreeViewItemTagHelper
Example
Razor
<treeview-item>
<items></items>
</treeview-item>
ChildTags
Tag Name | Details |
---|---|
items | TreeViewNestedItemsTagHelper |
Attributes
Attribute | Type | Description |
---|---|---|
checked | Boolean | Specifies whether the item is initially checked. True by default. |
content-html-attributes | IDictionary<String,Object> | Specifies the attributes added to the content element of the item. |
enabled | Boolean | Specifies whether the item is initially enabled. True by default. |
expanded | Boolean | Specifies whether the item is initially expanded |
html-attributes | IDictionary<String,Object> | Specifies the attributes added to the item |
id | String | Specifies the data-id attribute of the item |
image-html-attributes | IDictionary<String,Object> | Specifies the attributes added to the item's image. |
image-url | String | Specifies the URL of the image displayed by the item |
link-html-attributes | IDictionary<String,Object> | Specifies the attributes added to the item's element |
selected | Boolean | Specifies whether the item is initially selected |
sprite-css-class | String | Specifies the class name for the sprite image displayed by the item |
text | String | Specifies the text displayed by the item |
url | String | Specifies the URL that the item will link to. Used for navigational trees. |