MultiLayout

StockSharp.Xaml.Diagram.GXDiagram.Layout

This IDiagramLayout is a compound layout where each of the nested Layouts works on a subset of the nodes and links that are this MultiLayout's responsibility.

Hereda de: FrameworkElement

Implementa: IDiagramLayout

Constructores

MultiLayout()

Construct an empty MultiLayout.

Propiedades

Arrangement : MultiArrangement

Gets or sets how Link}) should lay out the nested layouts.

ArrangementOrigin : Point

Gets or sets the point of the top-left node.

ArrangementSpacing : Size

Gets or sets the space between which each nested layout will be positioned.

Diagram : Diagram

Gets or sets the Diagram that owns this layout.

Group : Group

Gets or sets the Group that owns this layout, if the layout is the value of a Layout.

Id : string

Gets or sets an identifier for a particular layout.

Layouts : IList

Gets the collection of IDiagramLayout layouts that are managed by this MultiLayout.

ValidLayout : bool

This layout is valid only if all of its Layouts are valid.

Métodos

CanLayoutPart(Part) : bool

This predicate is true if Part) is true for any of its Layouts.

part
DoLayout(IEnumerable<Node>, IEnumerable<Link>)

Actually perform all of the Layouts for the given nodes and links.

nodes
links
Invalidate(LayoutChange, Part)

Declare that this layout may be invalid, for a given reason.

reason
a LayoutChange hint
part
the Part that changed
InvalidateLayout()

Set the ValidLayout property to false, and ask the diagram's LayoutManager to perform layouts in the near future.

Campos

ArrangementOriginProperty : DependencyProperty

Identifies the ArrangementOrigin dependency property.

ArrangementProperty : DependencyProperty

Identifies the Arrangement dependency property.

ArrangementSpacingProperty : DependencyProperty

Identifies the ArrangementSpacing dependency property;

IdProperty : DependencyProperty

Identifies the Id dependency property.