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:
| | Name | Description | |
| | Add | Adds an Element object to the collection and returns a reference to the newly created object. | |
| | Clear | Removes all objects in a collection. | |
| | Count | Returns the number of elements in the collection. | |
| | InsertControl | Inserts a child Element object ( that hosts another control inside ) to the collection and returns a reference to the newly created object. | |
| | InvokeContextMenu | Invokes programmatically the selection's default or customized context menu, and returns the identifier of the selected item. | |
| | Item | Returns a specific Element of the Elements collection, giving its identifier. | |
| | Remove | Removes a specific member from the Elements collection, giving its identifier or reference. | |