LayoutChange
This enumerates the reasons that a layout may no longer be valid when a particular Part has been added or removed.
Fields
public const LayoutChange Added
value = LayoutChange.Added
A node, link, or group membership has been added.
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.
public const LayoutChange DiagramLayoutChanged
value = LayoutChange.DiagramLayoutChanged
The Layout property value has been replaced. There is no Part associated with this change.
public const LayoutChange GroupLayoutChanged
value = LayoutChange.GroupLayoutChanged
The Layout property value has been replaced on a group.
public const LayoutChange GroupSizeChanged
value = LayoutChange.GroupSizeChanged
The size of a group has changed.
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.
public const LayoutChange LinkAdded
value = LayoutChange.LinkAdded
A link has been added to the diagram.
public const LayoutChange LinkRemoved
value = LayoutChange.LinkRemoved
A link has been removed from the diagram.
public const LayoutChange MemberAdded
value = LayoutChange.MemberAdded
A member node has been added to a group.
public const LayoutChange MemberRemoved
value = LayoutChange.MemberRemoved
A member node has been removed from a group.
public const LayoutChange NodeAdded
value = LayoutChange.NodeAdded
A node has been added to the diagram.
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.
public const LayoutChange NodeRemoved
value = LayoutChange.NodeRemoved
A node has been removed from the diagram.
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.
public const LayoutChange None
value = LayoutChange.None
No particular reason for an layout invalidation.
public const LayoutChange Removed
value = LayoutChange.Removed
A node, link, or group membership has been removed.
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.
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.
public const LayoutChange VisibleChanged
value = LayoutChange.VisibleChanged
The Visible property has changed on a node or a link.