GoXam for WPF v3
MakeLinkForData Method
Northwoods.GoXam Namespace > PartManager Class : MakeLinkForData Method
the data that this link is bound to; must not be a Link or any UIElement
the model that the linkdata is in
the DataTemplate for the ContentTemplate property
the category for the link
Construct a new Link, setting its Content and ContentTemplate properties.
Syntax
protected virtual Link MakeLinkForData( 
   object linkdata,
   IDiagramModel model,
   DataTemplate templ,
   string category
)

Parameters

linkdata
the data that this link is bound to; must not be a Link or any UIElement
model
the model that the linkdata is in
templ
the DataTemplate for the ContentTemplate property
category
the category for the link

Return Value

a newly created Link
Remarks

You may wish to override this method in order to use a subclass of Link.

The implementation of this method should not modify the model.

See Also

Reference

PartManager Class
PartManager Members