Northwoods.GoWPF 2.2.4 Assembly
OnApplyTemplate Method (Diagram)

Perform initialization.
Syntax
Public Overrides Sub OnApplyTemplate() 
public override void OnApplyTemplate()
Remarks
This finds the DiagramPanel template child that becomes the value of Panel. It calls DiagramPanel.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.
Requirements
See Also

Reference

Diagram Class
Diagram Members
Base Implementation in OnApplyTemplate

 

 


© Northwoods Software 2017. All Rights Reserved.

Send Feedback