Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2805
how to set up tooltip for a cell?
posted

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.

Parents
  • 138253
    Verified Answer
    Offline posted

    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.

    XamDataGridTooltipVisibility.zip
Reply Children
No Data