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
Post a Comment