User Interface for .NET / User's Guide / Docking Panels / Document Model / Documents

In This Topic
    Documents
    In This Topic
     Overview
    Since 2006 Q1 Nevron Docking Panels provide complete document support - either MDI or SDI. The suite comes with numerous document customization settings as well as separate object controlling documents behaviour - the NDocumentManager one.
     Document Model

    The core document logic is separated from its view - a document does not care on what view it is hosted.

     

    Following is a diagram that specifies the document - view relation:

     

     

    So all you need to do is to initialize a NUIDocument instance, set its properties and call the AddDocument method of the document manager. Depending on the current document view a INUIDocumentHost instance will be created which will host the document. Each document has a Client property which specifies the Control instance associated with the document.