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.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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