Silverlight c# adding tooltip to textblock -
i generating textblock in c# , want add tooptip displays image , text. how can without xaml?
use code this:-
textblock txt = new textblock(); txt.text = "hello world"; tooltipservice.settooltip(txt, "some content"); note can replace "some content" uielement containing pretty content wish.
Comments
Post a Comment