Gets or sets the DataTemplate used to display this node.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public DataTemplate Template { get; set; } |
Visual Basic Copy Code |
---|
Public Property Template As DataTemplate |
An instance of the DataTemplate class.
If this property is not set (either directly or through a style), the node is displayed using the template assigned to the diagram's NodeTemplate.
See tutorial 3 for an example showing how to set the node's template.
WpfDiagram Programmer's Guide | © 2024 MindFusion |