TreeViewNodeTElement Class

Node for a TreeViewTElement

Definition

Namespace: MobileTrack.Web.Components.Components
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
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