GoXam for WPF v3
MakeNodeForData Method
Northwoods.GoXam Namespace > PartManager Class : MakeNodeForData Method
the data that this node is bound to; must not be a Node or any UIElement
the model that the nodedata is in
whether the node should be a Group instead of a Node
whether the node acts as the label node for a link
the category of the node
the DataTemplate for the ContentTemplate property
Construct a new Node, setting its Content and ContentTemplate properties.
Syntax

Parameters

nodedata
the data that this node is bound to; must not be a Node or any UIElement
model
the model that the nodedata is in
isgroup
whether the node should be a Group instead of a Node
islinklabel
whether the node acts as the label node for a link
category
the category of the node
templ
the DataTemplate for the ContentTemplate property

Return Value

a newly created Node or Group, bound to nodedata via a PartManager.PartBinding
Remarks

You may wish to override this method to construct a subclass of Node when you have overridden one of the node methods, such as FindPort.

The implementation of this method should not modify the model.

See Also

Reference

PartManager Class
PartManager Members