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.

