
Layer
is a collection of Nodes or Links that are to be displayed in front of or behind the parts in other layers.[DesignTimeVisible(false)] [UidProperty("Uid")] [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)] [NameScopeProperty("NameScope", System.Windows.NameScope)] public abstract class Layer : System.Windows.UIElement
Each layer can only be a child of a DiagramPanel -- they cannot be nested. There are two classes inheriting from this abstract Layer
class: NodeLayer and LinkLayer, which hold only nodes or only links, respectively.
Each layer has an Id property that is used to identify the layer in the DiagramPanel amongst multiple layers of the same type.
There are many properties, named "Allow...", that control what operations the user may perform on the parts held by this layer. These correspond to the same named properties on Diagram that govern the behavior for all parts in all layers. Furthermore for some of these properties there are corresponding properties on Part, named "...able", that govern the behavior for that individual part. For example, the AllowCopy property corresponds to AllowCopy and to the property Part.Copyable. The Part.CanCopy predicate is false if any of these properties is false.
You may not apply any transforms to a Layer
; that is reserved to GoXam for future use.
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
Northwoods.GoXam.Layer
Northwoods.GoXam.LinkLayer
Northwoods.GoXam.NodeLayer