ASP.NET Pack Programmer's Guide
Layout Members
Constructors Properties Methods Events
 


The base class for all layout classes.

The following tables list the members exposed by the Layout type.

 Protected Constructors

  Name Description

Layout

Initializes a new instance of the Layout class.

 Public Properties

  Name Description

Anchoring

Gets or sets a value indicating how to align links to the anchor points of graph nodes.

EnableParallelism

Gets or sets a value indicating whether to arrange subgraphs on separate threads.

GrowToFit

Gets or sets a value indicating whether the diagram boundaries should grow to fit the arranged content.

KeepGroupLayout

Gets or sets a value indicating whether to treat each Group of nodes as a single vertex in the arranged graph.

LayoutLink

Gets or sets a delegate, which is invoked when the position of a link is changed by the layout.

LayoutNode

Gets or sets a delegate, which is invoked when the position of a node is changed by the layout.

Margins

Gets or sets the distance between the top-left corner of the smallest rectangle containing the arranged diagram and the top-left point of the document bounds.

MaxDegreeOfParallelism

Gets or sets the maximum degree of parallelism.

MultipleGraphsPlacement

Gets or sets a value indicating how multiple independent graphs in the diagram should be positioned relatively to each other.

Name

Gets a user-friendly name of the layout.

Progress

Gets or sets a delegate, which is invoked regularly during the layout process to inform clients about the layout progress.

RepeatingLinksPadding

Specifies the padding distance between repeating links.

 Protected Properties

  Name Description

DefaultMarginValue

Gets the default value for the Margins property, which may vary accross different layouts.

SuppressCompleteEvent

Specifies whether raising the LayoutComplete event should be suppressed for this layout instance.

 Public Methods

  Name Description

Arrange

Overloaded. Applies the layout to a Diagram instance.

ArrangeAnimated

Applies the layout to the specified subset of items from the specified Diagram instance and animates items moving to their new positions.

ArrangeAsync

Overloaded.  

 Protected Methods

  Name Description

OnLayoutComplete

Raises the LayoutComplete event.

 Public Events

  Name Description

LayoutComplete

Raised when a layout is finished arranging a graph.

 See Also

Layout Class
MindFusion.Diagramming.Layout Namespace