DropDownTree
FreeA drop-down field that opens a tree to choose one node. It is built from TreeView and Popover and keeps their keyboard behavior.
Example

Parameters
| Parameter | Type | Description |
|---|---|---|
ChildrenSelector | Func<TItem, IEnumerable<TItem>> | Returns the children of an item. Items without children are leaves. |
Class | string | Extra CSS classes added to the root element. |
Disabled | bool | Disables interaction. |
DisplayName | string | Name used in validation messages. |
ExpandAll | bool | Expands every node when the tree first appears. |
HelperText | string | Hint shown below the field. |
Items | IEnumerable<TItem> | The options to choose from. |
ItemText | Func<TItem, string> | Converts an item to its display text (defaults to ToString()). |
Label | string | Visible label text (charts: accessible name; IconButton: accessible name and tooltip). |
Placeholder | string | Placeholder shown when the field is empty. |
ReadOnly | bool | Shows the value but does not allow changes. |
Style | string | Inline style added to the root element. |
Value | TItem | Current value. Use with @bind-Value. |
Events
| Event | Type | Description |
|---|---|---|
ValueChanged | EventCallback<TItem> | Raised when the value changes. |
Package
DropDownTree is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.
Send feedbackVersion 1.0.3