Gets or sets the DataTemplate used to display this node.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C#
![]() |
---|
public DataTemplate Template { get; set; } |
Visual Basic
![]() |
---|
Public Property Template As DataTemplate |
A System.Windows.DataTemplate instance; the default value is null.
If this property is not set, nodes are rendered by NodeRenderer using DrawingContext API. Note that LightweightPresenters does not work for templated nodes.
WpfDiagram Programmer's Guide | © 2025 MindFusion |