Nevron .NET Vision
Nevron.Diagram Namespace / NStencil Class
Members


In This Topic
    NStencil Class
    In This Topic
    The NStencil class is a collection, which is used to hold reusable INStencilTransformable implementors
    Object Model
    NStencil Class
    Syntax
    'Declaration
     
    
    <System.Xml.Serialization.XmlIncludeAttribute(Nevron.Diagram.NArrowheadShapeStencil)>
    <System.ComponentModel.ToolboxItemAttribute(False)>
    <System.ComponentModel.EditorAttribute(Nevron.Diagram.Editors.NDiagramElementContainerTypeEditor, System.Drawing.Design.UITypeEditor)>
    <System.SerializableAttribute()>
    Public MustInherit Class NStencil 
       Inherits NDiagramElementCollection
       Implements INContextMenuEditable, INDiagramElement, INDiagramElementComposite, INDiagramElementContainer, INMeasurements, INZOrderable, Nevron.Dom.INAttributeContainer, Nevron.Dom.INAttributeObserver, Nevron.Dom.INElement, Nevron.Dom.INElementComposite, Nevron.Dom.INElementContainer, Nevron.Dom.INHistoryCallback, Nevron.Dom.INIdentifiable, Nevron.Dom.INNode, Nevron.Dom.INNodeComposite, Nevron.Dom.INNodeContainer, Nevron.Dom.INServiceProvider, Nevron.Dom.INUniquelyIdentifiable, Nevron.INReferenceHolder, Nevron.INReferenceProvider 
    'Usage
     
    
    Dim instance As NStencil
    [System.Xml.Serialization.XmlInclude(Nevron.Diagram.NArrowheadShapeStencil)]
    [System.ComponentModel.ToolboxItem(false)]
    [System.ComponentModel.Editor(Nevron.Diagram.Editors.NDiagramElementContainerTypeEditor, System.Drawing.Design.UITypeEditor)]
    [System.Serializable()]
    public abstract class NStencil : NDiagramElementCollection, INContextMenuEditable, INDiagramElement, INDiagramElementComposite, INDiagramElementContainer, INMeasurements, INZOrderable, Nevron.Dom.INAttributeContainer, Nevron.Dom.INAttributeObserver, Nevron.Dom.INElement, Nevron.Dom.INElementComposite, Nevron.Dom.INElementContainer, Nevron.Dom.INHistoryCallback, Nevron.Dom.INIdentifiable, Nevron.Dom.INNode, Nevron.Dom.INNodeComposite, Nevron.Dom.INNodeContainer, Nevron.Dom.INServiceProvider, Nevron.Dom.INUniquelyIdentifiable, Nevron.INReferenceHolder, Nevron.INReferenceProvider  
    Remarks
    You can only insert nodes which implement the INStencilTransformable to a stencil, since the framework uses this method to fastly reposition the stencil items during painting.
    Inheritance Hierarchy

    System.Object
       Nevron.Diagram.NDiagramNode
          Nevron.Diagram.NDiagramElement
             Nevron.Diagram.NDiagramElementCollection
                Nevron.Diagram.NStencil
                   Nevron.Diagram.NArrowheadShapeStencil
                   Nevron.Diagram.NPointShapeStencil

    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