property Element.Type as ElementHostTypeEnum
Specifies the element's type.

TypeDescription
ElementHostTypeEnum An ElementHostTypeEnum expression that defines type of the element.
By default, the Type property is exElementHostDefault, which defines the default node, with caption, check, pictures and so on. Use the Type property to change the element's type. Changing the Type property at runtime, loses the properties like Caption, Pictures, and so on. So setting the Type property must be done before calling or changing any of the other properties. Use the Add method to add an element of exElementHostDefault type. Use the InsertControl method to add a new element whose Type property is set on exElementHostControl. The Copy property copies the element. Use the Caption/ExtraCaption property to specify the element's caption or extra-caption. Use the Pictures/ExtraPictures property to display one or more icons, picture to the element. Use the ShowCheckBox property to show the element's check box. Use the ElementFormat property to define how the parts of the element are displayed.

In case, the Type property is: