LayoutChange

StockSharp.Xaml.Diagram.GXDiagram.Layout

This enumerates the reasons that a layout may no longer be valid when a particular Part has been added or removed.

Fields

Added
public const LayoutChange Added
value = LayoutChange.Added

A node, link, or group membership has been added.

All
public const LayoutChange All
value = LayoutChange.All

All LayoutChange flags combined together, except for InitialOnly. Caution: due to the likelihood of frequent layouts, this is basically only used to indicate to Part) that a new layout should be performed unconditionally.

DiagramLayoutChanged
public const LayoutChange DiagramLayoutChanged
value = LayoutChange.DiagramLayoutChanged

The Layout property value has been replaced. There is no Part associated with this change.

GroupLayoutChanged
public const LayoutChange GroupLayoutChanged
value = LayoutChange.GroupLayoutChanged

The Layout property value has been replaced on a group.

GroupSizeChanged
public const LayoutChange GroupSizeChanged
value = LayoutChange.GroupSizeChanged

The size of a group has changed.

InitialOnly
public const LayoutChange InitialOnly
value = LayoutChange.InitialOnly

When this flag is included in the Conditions, no layouts will occur after the initial one, unless the layout is invalidated unconditionally.

LinkAdded
public const LayoutChange LinkAdded
value = LayoutChange.LinkAdded

A link has been added to the diagram.

LinkRemoved
public const LayoutChange LinkRemoved
value = LayoutChange.LinkRemoved

A link has been removed from the diagram.

MemberAdded
public const LayoutChange MemberAdded
value = LayoutChange.MemberAdded

A member node has been added to a group.

MemberRemoved
public const LayoutChange MemberRemoved
value = LayoutChange.MemberRemoved

A member node has been removed from a group.

NodeAdded
public const LayoutChange NodeAdded
value = LayoutChange.NodeAdded

A node has been added to the diagram.

NodeLocationChanged
public const LayoutChange NodeLocationChanged
value = LayoutChange.NodeLocationChanged

The location of a node or group has changed. Caution: this is rarely used, due to the likelihood of frequent layouts.

NodeRemoved
public const LayoutChange NodeRemoved
value = LayoutChange.NodeRemoved

A node has been removed from the diagram.

NodeSizeChanged
public const LayoutChange NodeSizeChanged
value = LayoutChange.NodeSizeChanged

The size of a node (that is not a group) has changed. Caution: this is uncommonly used, due to the likelihood of frequent layouts.

None
public const LayoutChange None
value = LayoutChange.None

No particular reason for an layout invalidation.

Removed
public const LayoutChange Removed
value = LayoutChange.Removed

A node, link, or group membership has been removed.

Standard
public const LayoutChange Standard
value = LayoutChange.Standard

All of the Added and Removed flags, plus DiagramLayoutChanged and GroupLayoutChanged, but not NodeSizeChanged and NodeLocationChanged and InitialOnly. This is the default value of Conditions. It corresponds to all of the graph-structural changes and layout replacements.

ViewportSizeChanged
public const LayoutChange ViewportSizeChanged
value = LayoutChange.ViewportSizeChanged

The size of the ViewportBounds has changed, either because the DiagramPanel has changed size or because the Scale has changed. This only applies to the top-level layout, the Layout.

VisibleChanged
public const LayoutChange VisibleChanged
value = LayoutChange.VisibleChanged

The Visible property has changed on a node or a link.