GoXam for WPF v3
LinkTemplateDictionary Property
Northwoods.GoXam Namespace > Diagram Class : LinkTemplateDictionary Property
Gets or sets a DataTemplateDictionary that determines the appearance of all Links.
Syntax
[Category("Appearance")]
public DataTemplateDictionary LinkTemplateDictionary {get; set;}

Property Value

The default value is null, but the default style for Diagram will set this to a shared DataTemplateDictionary with reasonable (but minimal) data templates for all predefined categories.
Remarks

This is used by PartManager.AddLinkForData and PartManager.AddLinkForData. Typically most data templates expand into a LinkPanel.

The dictionary is keyed by the link's Category. The value of LinkTemplate takes precedence over any entry in this dictionary with the key an empty string, "", which is the default category. If LinkTemplate 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.

See Also

Reference

Diagram Class
Diagram Members