@page "/tree-selection"

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    Tree selection
</RadzenText>
<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    Get or set the selected items of RadzenTree.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo <strong>Categories</strong> and <strong>Products</strong> tree has the first category pre-selected via <code>bind-Value</code>, buttons to programmatically select "Condiments" or clear selection, and <code>Change</code> event logs the selected category or product name to console.
</RadzenText>

<RadzenExample ComponentName="Tree" Example="TreeSelection">
    <TreeSelection />
</RadzenExample>
