Hi,
I want to know how can we keep different node templates for some nodes in one tree. Forexample: I want my Root node to be a triangle and rest as rectangles.
Thanks…
Hi,
I want to know how can we keep different node templates for some nodes in one tree. Forexample: I want my Root node to be a triangle and rest as rectangles.
Thanks…
You can use multiple DataTemplates by using a DataTemplateDictionary and setting the Category property on your node data in the model. I suggest you read the section “Template Dictionaries” in GoXamIntro.pdf.
Also, you can search this forum for more discussion, such as this recent post: Empty key in DataTemplateDictionary.
Thanks for the reply. I will try the same and if gets any issue will let you know!!