Elements object
The Elements collection holds the elements to be shown on the surface. The Elements property of the control accesses the Elements collection. The Links property of the control accesses the Links collection. The Elements collection supports the following properties and methods:

NameDescription
AddAdds an Element object to the collection and returns a reference to the newly created object.
ClearRemoves all objects in a collection.
CountReturns the number of elements in the collection.
InsertControlInserts a child Element object ( that hosts another control inside ) to the collection and returns a reference to the newly created object.
InvokeContextMenuInvokes programmatically the selection's default or customized context menu, and returns the identifier of the selected item.
ItemReturns a specific Element of the Elements collection, giving its identifier.
RemoveRemoves a specific member from the Elements collection, giving its identifier or reference.