+ The TreeView component is designed to display hierarchical data structures. By default, each
+ You can also associate a data value with each item using the
+ The TreeView's appearance and behavior can be controlled with several parameters: +
+
+ Enhance the visual presentation of TreeView items by assigning icons. The
+ This example defines a custom
+ To enable item selection, set the
+ Use
+ You can directly bind the
+ While managing selection is typically done on the parent
+ When
+ To expand or collapse all nodes at once, you can call the public
+ For large datasets, you can load data on-demand using
+ The loading indicator's icon and color can be customized with
+ The TreeView nodes can be filtered using the
+ This example demonstrates how to implement a text-based filter that dynamically shows or hides nodes based on user input. +
+ For full control over rendering and behavior, use the
+ This example demonstrates creating a non-standard multi-selection behavior where selecting a parent node does not affect its children.
+ It also shows how to make only specific items selectable.
+ To enable scrolling, as seen in this sample, constrain the container's
-<script src="_content/MudBlazor/MudBlazor.min.js"></script> +<script src="@Assets["_content/MudBlazor/MudBlazor.min.js"]"></script>
+<script src="_content/MudBlazor/MudBlazor.min.css?v=@(MudBlazor.Metadata.Version)"></script> ++
+<!-- Important: Increment the version parameter whenever you update MudBlazor to prevent caching issues --> +<script src="_content/MudBlazor/MudBlazor.min.css?v=1"></script> ++