Nevron .NET Vision
Nevron.Diagram.Layout Namespace / NParentPlacement Class
Members


In This Topic
    NParentPlacement Class
    In This Topic
    The NParentPlacement class represents an attribute, which is used to encapsulate the horizontal or vertical placement of a parent tree vertex in respect to its children or subtree.
    Object Model
    NParentPlacement Class
    Syntax
    'Declaration
     
    
    <System.ComponentModel.TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
    Public Class NParentPlacement 
       Inherits Nevron.Dom.NAttribute
       Implements Nevron.Dom.INAttribute, Nevron.Dom.INHistoryCallback, Nevron.INReferenceHolder, Nevron.INReferenceProvider 
    'Usage
     
    
    Dim instance As NParentPlacement
    [System.ComponentModel.TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
    public class NParentPlacement : Nevron.Dom.NAttribute, Nevron.Dom.INAttribute, Nevron.Dom.INHistoryCallback, Nevron.INReferenceHolder, Nevron.INReferenceProvider  
    Remarks
    When the subtree of a parent vertex is layed out, the value of the Anchor property is used to determine a base position (anchor) for the parent vertex to be placed at. This position is generally relative to a metric of the already arranged children or subtree. Then the anchor is additionally offset with the value specified by the Offset property. Finally the parent is aligned to the anchor in accordance to the Alignment property setting.

    Note that the above metioned parent placement can be performed either horizontally or vertically, as the containing layout decides.

    Inheritance Hierarchy

    System.Object
       Nevron.Dom.NAttribute
          Nevron.Diagram.Layout.NParentPlacement

    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