Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NView Class
Members


In This Topic
    NView Class
    In This Topic
    The NView class is a Windows Forms Control, which serves as base class for all diagram document views
    Object Model
    NView Class
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultPropertyAttribute("Text")>
    <System.ComponentModel.DefaultEventAttribute("Click")>
    <System.ComponentModel.DesignerAttribute("System.Windows.Forms.Design.ControlDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
    <System.ComponentModel.Design.Serialization.DesignerSerializerAttribute("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
    <System.ComponentModel.ToolboxItemFilterAttribute("System.Windows.Forms")>
    <System.ComponentModel.DesignerCategoryAttribute("Component")>
    <System.SerializableAttribute()>
    Public MustInherit Class NView 
       Inherits System.Windows.Forms.Control
       Implements Nevron.Diagram.INHitTest, Nevron.Diagram.INInvalidatable, Nevron.Diagram.INView, Nevron.Diagram.INVisible, Nevron.Dom.INAttributeContainer, Nevron.Dom.INAttributeObserver, Nevron.Dom.INNode, Nevron.Dom.INNodeContainer, Nevron.Dom.INServiceProvider, Nevron.Globalization.INLocalizable, Nevron.GraphicsCore.INWindowRenderSurfaceHost, Nevron.INReferenceHolder, Nevron.INReferenceProvider 
    'Usage
     
    
    Dim instance As NView
    [System.ComponentModel.DefaultProperty("Text")]
    [System.ComponentModel.DefaultEvent("Click")]
    [System.ComponentModel.Designer("System.Windows.Forms.Design.ControlDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [System.ComponentModel.Design.Serialization.DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [System.ComponentModel.ToolboxItemFilter("System.Windows.Forms")]
    [System.ComponentModel.DesignerCategory("Component")]
    [System.Serializable()]
    public abstract class NView : System.Windows.Forms.Control, Nevron.Diagram.INHitTest, Nevron.Diagram.INInvalidatable, Nevron.Diagram.INView, Nevron.Diagram.INVisible, Nevron.Dom.INAttributeContainer, Nevron.Dom.INAttributeObserver, Nevron.Dom.INNode, Nevron.Dom.INNodeContainer, Nevron.Dom.INServiceProvider, Nevron.Globalization.INLocalizable, Nevron.GraphicsCore.INWindowRenderSurfaceHost, Nevron.INReferenceHolder, Nevron.INReferenceProvider  
    Remarks
    The view is designed to display a scene, which is composed by the merged view and displayed document content. The first visible point of the scene is controlled by the ViewportOrigin property. The device point to which the viewport origin is mapped is accessible from the WindowOrigin property.

    All NView derivates share the following set of important features:

    • The selection contains the current set of manipulated document nodes. It is accessible from the Selection property.

    Inheritance Hierarchy

    System.Object
       System.MarshalByRefObject
          System.ComponentModel.Component
             System.Windows.Forms.Control
                Nevron.Diagram.WinForm.NView
                   Nevron.Diagram.WinForm.NDrawingView
                   Nevron.Diagram.WinForm.NLibraryView

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also