WPF Tooltip, is there some sort of OnHint -


i have application displays contentcontrols on kind of desktop.

now want show tooltips on these controls. tooltip changing time time , text tooltip coming outside application. need callback when hint appears , ask outside part text display.

how can 1 that?

if use data binding tooltip can fetch new outside data bound property , updated every time tooltip shown. xaml this:

<contentcontrol tooltip="{binding myexternaldataproperty}"/> 

for datacontext object set this:

public class datacontextforcontrol {   public string myexternaldataproperty   {     { return myoutsidedatareader.somedata; }   } } 

Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

collision detection - C++ library for mesh to mesh intersection: what is available? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -