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

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -