Changing the Tooltip Position

2 posts, 0 answers
  1. Hector
    Hector avatar
    92 posts
    Member since:
    May 2009

    Posted 18 Aug 2009 Link to this post

    Is there a way to move the position of a tooltip form the default?  Currently, it is displaying bellow the mouse and that is causing it to go beyond the browser window and cuts it off.  I would like it to show above and to the right of the mouse position.  Thanks.
  2. Hector
    Hector avatar
    92 posts
    Member since:
    May 2009

    Posted 18 Aug 2009 Link to this post

    I figured it out.  Don't know if this is the right way, but it works marvelous!

                tooltip.RenderTransform = new TransformGroup();  
                TransformGroup tg = new TransformGroup();  
                TranslateTransform translate = new TranslateTransform();  
                translate.X = 0;  
                translate.Y = -205;  
                tg.Children.Add(translate);  
                tooltip.RenderTransform = tg; 
Back to Top