I know we can set tooltip for a CellValuePresenter in style. But how can we set up in code? In what event? I need to disable or enable tooltip based on complex logic.
Thanks for help.
Hello,
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically instead of using events, I bound the Tooltip’s Visibility to the DataRecordPresenter and used Converter to make it visible or not, because there is a virtualization of the DataRecordPresenters they are reused and after you scroll a couple of times all the records will have disabled tooltips.. Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.
Your solution works fine. Thanks.