Nevron .NET Vision
Nevron.Diagram Namespace / NLayoutData Class
Properties Methods


In This Topic
    NLayoutData Class Members
    In This Topic

    The following tables list the members exposed by NLayoutData.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyGets/sets the desired height of the shape. Used by all layouts. Applicable for 2D shapes only, when UseShapeHeight is false. By default set to 0  
    Public PropertyGets/sets the desired width of the shape. Used by all layouts. Applicable for 2D shapes only, when UseShapeWidth is false. By default set to 0  
    Public PropertyGets/sets the docking area occupied by the shape when it is threated as a docking cell. Used by dock layout. Applicable for 2D shapes only.  
    Public PropertyGets/sets the electrical charge of a shape, which is threated as electrically charged partical. Used by force directed layouts with electrical force. Applicable for 2D shapes only.  
    Public PropertyGets/sets whether a shape is moveable by force directed layouts in the X direction. Used by force directed layouts. Applicable for 2D shapes only.  
    Public PropertyGets/sets whether a shape is moveable by force directed layouts in the Y direction. Used by force directed layouts. Applicable for 2D shapes only.  
    Public PropertyGets/sets how the shape is resized/repositioned horizontally to fit the cell slot allocated by a cells layout. Used by all cells layouts (stack, flow, dock etc.). Applicable for 2D shapes only, when UseDefaultHorizontalContentPlacement is set to false.  
    Public PropertyDetermines the index of the node in its layer when Layered Graph Layout is applied. By default set to -1, which means that the index will be determined automatically.  
    Public PropertyDetermines layer index of the node when Layered Graph Layout is applied. By default set to -1, which means that the index will be determined automatically.  
    Public PropertyGets/sets the magnetization type for a shape, which is threated as a magnetized needle trying to align itself with a magnetic field. Used by force directed layouts with magnetic forces. Applicable for 1D shapes only, when UseDefaultMagnetizationType is set to false.  
    Public PropertyGets/sets the mass of a shape, which is threated as a physical body with a certain mass (weight). Used by force directed layouts with a baricenter force. Applicable for 2D shapes only.  
    Public PropertyGets/sets the max size of the shape. Used by all cells layouts (stack, flow, dock etc.). Applicable for 2D shapes only.  
    Public PropertyGets/sets the min size of the shape. Used by all cells layouts (stack, flow, dock etc.). Applicable for 2D shapes only.  
    Public PropertyGets/sets the spring length for a shape, which is threated as a spring. Used by force directed layouts with a spring force. Applicable for 1D shapes only. When set to -1 the shape uses the default spring length.  
    Public PropertyGets/sets the spring stiffness for a shape, which is threated as a spring. Used by force directed layouts with a spring force. Applicable for 1D shapes only. When set to -1 the shape uses the default spring stiffness.  
    Public PropertyGets/sets the children placement of a 2D shape. Used by tip over tree layout. Applicable for 2D shapes only.  
    Public PropertyGets/sets whether the layout default horizontal content placement must be used.  
    Public PropertyGets/sets whether the layout default magnetization type must be used.  
    Public PropertyGets/sets whether the layout default vertical content placement must be used.  
    Public PropertyGets/sets whether the current shape height is the desired height of the shape  
    Public PropertyGets/sets whether the current shape width is the desired width of the shape  
    Public PropertyGets/sets how the shape is resized/repositioned vertically to fit the cell slot allocated by a cells layout. Used by all cells layouts (stack, flow, dock etc.). Applicable for 2D shapes only, when UseDefaultVerticalContentPlacement is set to false.  
    Top
    Public Methods
     NameDescription
    Public MethodOverridden. Creates an identical copy of this object  
    Public MethodCalled when the measurement unit of the measurements stored in this node have changed and all measurements must be converted to the new unit  
    Public Method (Inherited from Nevron.Dom.NAttribute)
    Public MethodCalled to create any non serialized objects, which the holder posseses (Inherited from Nevron.Dom.NAttribute)
    Public MethodObtains the reference provider to which the object is currently attached (Inherited from Nevron.Dom.NAttribute)
    Public MethodCalled to perform a history action (Inherited from Nevron.Dom.NAttribute)
    Public MethodCalled by history when the object state has changed from history (Inherited from Nevron.Dom.NAttribute)
    Public MethodCalled by history when the object state is about to be changed from history (Inherited from Nevron.Dom.NAttribute)
    Public MethodCalled to provide a reference to the object of the specified type (Inherited from Nevron.Dom.NAttribute)
    Public Method (Inherited from Nevron.Dom.NAttribute)
    Public MethodCalled to update the references stored by the object (Inherited from Nevron.Dom.NAttribute)
    Top
    Protected Methods
     NameDescription
    Protected MethodCommits the current transaction (Inherited from Nevron.Dom.NAttribute)
    Protected MethodUnlocks the history service. Pair it with the StartProperty method (Inherited from Nevron.Dom.NAttribute)
    Protected MethodCalled when this attribute has changed (Inherited from Nevron.Dom.NAttribute)
    Protected MethodGeneral property changed handler (Inherited from Nevron.Dom.NAttribute)
    Protected MethodGeneral property changing handler (Inherited from Nevron.Dom.NAttribute)
    Protected MethodSafely pauses the history service (Inherited from Nevron.Dom.NAttribute)
    Protected MethodRecords an action (Inherited from Nevron.Dom.NAttribute)
    Protected MethodSafely records a custom operation in the history service to which the attribute is connected (Inherited from Nevron.Dom.NAttribute)
    Protected MethodRecords the state of the specified property before it is changed (Inherited from Nevron.Dom.NAttribute)
    Protected MethodOverloaded. Records the entire state of the attribute (Inherited from Nevron.Dom.NAttribute)
    Protected MethodSafely resumes the history service (Inherited from Nevron.Dom.NAttribute)
    Protected MethodRolls back the current transaction (Inherited from Nevron.Dom.NAttribute)
    Protected MethodRecords the state of the specified property before it is changed and locks the history service. Pair it with the EndProperty method. (Inherited from Nevron.Dom.NAttribute)
    Protected MethodStarts a new transaction (Inherited from Nevron.Dom.NAttribute)
    Top
    See Also