how to programmatically open and close tooltip in wpf?

Hello everyone,

is there a way to open and close a tooltip programmatically on a frameworkelement? I want for example with the mouse move event to open or close the tooltip wherever i'm near a drawing on a frameworkelement (i'm using the drawing context of the frameworkelement object)... What happens is that the tooltip appears only once. It appears again when the mouse moves outside the bounds of the frameworkelement and returns back inside the bounds of the element.

Thanks.

P.S: i've tried the prop ToolTip.StaysOpen = true, ToolTip.Visibility = Visibility.Hidden, still it doesn't seem to work.

[636 byte] By [pfongkye] at [2008-1-6]
# 1
sorry, i'm not in the correct forum section... i'll post my question again in the relevant section...
pfongkye at 2007-9-28 > top of Msdn Tech,Popfly,Popfly General Discussion...
# 2
Did you find the relevant forum for this question?
AndyS at 2007-9-28 > top of Msdn Tech,Popfly,Popfly General Discussion...
# 3
yes, i've posted in wpf section Wink
pfongkye at 2007-9-28 > top of Msdn Tech,Popfly,Popfly General Discussion...