TreeViewTElementAddItem Method

Adds an item to the TreeView. The item is added as a child to the parent with the same EnvironmentId as the item.

Definition

Namespace: MobileTrack.Web.Components.Components
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task AddItem(
	TElement item
)

Parameters

item  TElement
Item to add

Return Value

Task
Task completion

Exceptions

InvalidOperationExceptionIf the referenced parent of item does not exist in the tree.

See Also