GoXam for WPF v3
OnApplyTemplate Method (Overview)
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
View with Navigation Tools
Northwoods.GoXam Namespace
>
Overview Class
: OnApplyTemplate Method
When overridden in a derived class, is invoked whenever application code or internal processes call
System.Windows.FrameworkElement.ApplyTemplate
.
Syntax
C#
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
Node
s and
Link
s from the model's data, and it calls
LayoutDiagram(LayoutInitial,Boolean)
to eventually position the nodes if needed.
See Also
Reference
Overview Class
Overview Members