TreeViewTElement Class
Represents a TreeView component.
The component does not concern itself with the element it is placed in; background, size etc. is handled by parent HTML components
Namespace: MobileTrack.Web.Components.ComponentsAssembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public sealed class TreeView<TElement> : ComponentBase
where TElement : class, IIdLabel, IHasEnvironment
- Inheritance
- Object ComponentBase TreeViewTElement
Type Parameters
- TElement
- Model items to display.
| ContextMenuId |
Reference to the context menu when the user right-clicks on an item
|
| Id |
HTML ID of the element
|
| OnItemSelected |
Invoked when an item is selected.
|
| SelectedItem |
Represents the selected item in the stack, for rendering purposes.
|
| TreeItems |
TreeView items to display
|