Content


NTL
Core
IComponentItemTree

IComponentItemTree


Describes component/control which manages tree of the list items. If your control or component manage tree of list items you can derive it from this interface to result in proper management of items in Form Builder.

You can find more information in comments below.

class IComponentItemTree: public virtual IComponent
{
public:
    virtual IListItem *getRootItem() = 0; // Return root item in item tree. This item has only function of storage for the tree of items. It is never displayed. Thus it could have only a simple implementation and could be different type from all other items 

    virtual IListItemOwner *QueryListItemOwner() = 0; // Return list item owner. Use only this method to get list item owner 
};
Namespace: nitisa
Include: Nitisa/Interfaces/IComponentItemTree.h