Northwoods.GoWPF 1.3.5 Assembly
InitializeLayers Method
See Also  Send Feedback
Northwoods.GoXam Namespace > DiagramPanel Class : InitializeLayers Method

If there are no Layers in this panel's collection of Children, create the standard set of layers.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub InitializeLayers() 
C# 
protected virtual void InitializeLayers()

Remarks

This creates the following pairs of NodeLayers and LinkLayers, with Layer.Ids of: "Background", default (""), "Foreground", and "Tool". Finally it creates and adds a NodeLayer that is the AdornmentLayer, in front of all of the other layers, for holding selection handles and tool handles. The "Tool" layers and AdornmentLayer are layers holding temporary objects, so this sets their Layer.IsTemporary property to true.

Requirements

See Also

© 2012 All Rights Reserved.