DropDownTreeItemTagHelper
Example
Razor
<dropdowntree-item>
<items></items>
</dropdowntree-item>
ChildTags
| Tag Name | Details |
|---|---|
| items | DropDownTreeNestedItemsTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| checked | Boolean | Specifies whether the item is initially checked. True by default. |
| enabled | Boolean | Specifies whether the item is initially enabled. True by default. |
| encoded | Boolean | Specifies whether the items text should be encoded. |
| expanded | Boolean | Specifies whether the item is initially expanded |
| has-children | Boolean | Specifies whether the item has children |
| html-attributes | IDictionary<String,String> | The HTML attributes of the item that is rendered for the node. |
| id | String | Specifies the id of the item |
| image-url | String | Specifies the URL of the image displayed by the item |
| 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. |
| value | String | Specifies the text displayed by the item |