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
Hello,
I am able to reproduce the behavior you described . I am not able to change the node size after i change the node label. I log this behavior into our internal bug tracking system with id 274016.
I have also created a private case C-00223271 to link the bug. you can access the case through your infragistics account here: https://account.infragistics.com/support-cases
With the private case you will be notified when the bug fix or the workaround is available.