Property Value
The default value is an empty string. You cannot change this value once the Part has been added to a Diagram.
If you want to replace the DataTemplate
used by a Part, you would normally set the Category
property of your bound data. This would be reflected via the model in the PartManager, which handles Northwoods.GoXam.Model.ModelChange.ChangedNodeCategory by removing the Node from the Diagram and then adding it back again. The same is true for Links when Northwoods.GoXam.Model.ModelChange.ChangedLinkCategory.
But if you are not using a Category
property on your data, because you have overridden PartManager.FindCategoryForNode or PartManager.FindTemplateForNode, you will need to call PartManager.RemoveNodeForData and AddNodeForData yourself.