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

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

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