[Category("Appearance")] public DataTemplateDictionary NodeTemplateDictionary {get; set;}
[Category("Appearance")] public DataTemplateDictionary NodeTemplateDictionary {get; set;}
This is used by AddNodeForData.
The dictionary is keyed by the node's Category. The value of NodeTemplate takes precedence over any entry in this dictionary with the key an empty string, "", which is the default category. If NodeTemplate is null, you should be sure to have a data template in this dictionary for the default category, "". One way of doing that is by setting the Default property.