GoXam for WPF v3
OnApplyTemplate Method (Diagram)
Northwoods.GoXam Namespace > Diagram Class : OnApplyTemplate Method
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Syntax
public override void OnApplyTemplate()
Remarks
This finds the DiagramPanel template child that becomes the value of Panel. It calls InitializeLayers to create the various standard layers, it raises the TemplateApplied event so that you can initialize the Panel's event handlers or establish data-bindings on its properties, it calls PartManager.RebuildNodeElements to create Nodes and Links from the model's data, and it calls LayoutManager.LayoutDiagram to eventually position the nodes if needed.
See Also

Reference

Diagram Class
Diagram Members