Visual Basic (Declaration) | |
---|---|
<TypeConverterAttribute("Northwoods.GoXam.Layout.LayoutChangeConverter, Northwoods.GoSilverlight, Version=1.2.2.4, Culture=neutral, PublicKeyToken=616e2dc80068a33d")> <FlagsAttribute()> Public Enum LayoutChange Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
C# | |
---|---|
[TypeConverterAttribute("Northwoods.GoXam.Layout.LayoutChangeConverter, Northwoods.GoSilverlight, Version=1.2.2.4, Culture=neutral, PublicKeyToken=616e2dc80068a33d")] [FlagsAttribute()] public enum LayoutChange : System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
Added | A node, link, or group membership has been added. |
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 Northwoods.GoXam.Layout.IDiagramLayout.Invalidate that a new layout should be performed unconditionally. |
DiagramLayoutChanged | The Layout property value has been replaced. There is no Northwoods.GoXam.Part associated with this change. |
GroupLayoutChanged | The Group.Layout property value has been replaced on a group. |
GroupSizeChanged | The size of a group has changed. |
InitialOnly | When this flag is included in the Northwoods.GoXam.Layout.DiagramLayout.Conditions, no layouts will occur after the initial one, unless the layout is invalidated unconditionally. |
LinkAdded | A link has been added to the diagram. |
LinkRemoved | A link has been removed from the diagram. |
MemberAdded | A member node has been added to a group. |
MemberRemoved | A member node has been removed from a group. |
NodeAdded | A node has been added to the diagram. |
NodeLocationChanged | The location of a node or group has changed. Caution: this is rarely used, due to the likelihood of frequent layouts. |
NodeRemoved | A node has been removed from the diagram. |
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 | No particular reason for an layout invalidation. |
Removed | A node, link, or group membership has been removed. |
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 Northwoods.GoXam.Layout.DiagramLayout.Conditions. It corresponds to all of the graph-structural changes and layout replacements. |
ViewportSizeChanged | The size of the ViewportBounds has changed, either because the Northwoods.GoXam.DiagramPanel has changed size or because the Northwoods.GoXam.DiagramPanel.Scale has changed. This only applies to the top-level layout, the Layout. |
VisibleChanged | The Part.Visible property has changed on a node or a link. |
These flags values may be combined to provide the Northwoods.GoXam.Layout.DiagramLayout.Conditions under which a Northwoods.GoXam.Layout.DiagramLayout may be invalidated.
You can combine these values in XAML too. In WPF, just say: <golayout:TreeLayout Conditions="NodeAdded LinkAdded" ... />
But due to a restriction with Silverlight type converters, if you want to specify the value for Northwoods.GoXam.Layout.DiagramLayout.Conditions in XAML, you will need to set the ConditionFlags
attribute instead: <golayout:TreeLayout ConditionFlags="NodeAdded LinkAdded" ... />
System.Object
System.ValueType
System.Enum
Northwoods.GoXam.Layout.LayoutChange