MindFusion.Wpf Pack Programmer's Guide
TemplatedNode.Template Property
See Also
 





Gets or sets the DataTemplate used to display this node.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public DataTemplate Template { get; set; }

Visual Basic  Copy Code

Public Property Template As DataTemplate

 Property Value

An instance of the DataTemplate class.

 Remarks

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.

 Example

See tutorial 3 for an example showing how to set the node's template.

 See Also

TemplatedNode Members
TemplatedNode Class
MindFusion.Diagramming.Wpf Namespace