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