TreeViewNodeTElement Class

Node for a TreeViewTElement

Definition

Namespace: MobileTrack.Web.Components.Components
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public sealed class TreeViewNode<TElement> : ComponentBase
where TElement : class, IIdLabel, IHasEnvironment
Inheritance
Object    ComponentBase    TreeViewNodeTElement

Type Parameters

TElement
Item in the node of the tree.

Constructors

TreeViewNodeTElementInitializes a new instance of the TreeViewNodeTElement class

Properties

ContextMenuId Reference to the context menu when the user right-clicks on an item
OnItemSelected Invoked when an item is selected
Tree Tree this node is a part of.
TreeNode Item to render

Methods

Select Select the node
SetParametersAsync Parameters are loaded manually for sake of performance; if we were to use System.Reflection magic, it would hurt performance if components were used in large numbers.
(Overrides ComponentBaseSetParametersAsync(ParameterView))

See Also