How do I set the fontsize for a treemap label so it stays.
I currently bind the fontsize using the XamTreeMap property FontSize. Then I bind the label to a a string Label property using a NodeBinder. Everything works fine and the user can change the label fontsize with no problems.
However, if I then change the label in the node using an OnPropertyChanged the font size of the label changes to some default and the user can no longer change the label fontsize.
How do I set the fontsize for a treemap label in a nodebinder with TextPath="Label" after the label name is updated using an OnPropertyChange.
Hello Richard,
Thank you for contacting. The behavior you describe looks like a bug to me in the control, Although i need to be able to generate the scenario at my end.
As you explained i set up a sample of XamTreeMap with label property using NodeBinding. I would like you to modify my sample with your scenario ,and provide the steps of how end use can modify the label size.
I will refer the updated sample or you can share your own sample reproducing the issue for further investigation.
Looking forward to hear you back.
Regards,
Divya Jain
7573.WpfApp1.zip
Here is the modified file. You can use the slider to change font size until you click the button to change label names and then it doesnt work
2656.WpfApp1.zip