Quick Access Tool bar ScreenTip position bug

4 posts, 1 answers
  1. Dodd
    Dodd avatar
    44 posts
    Member since:
    Dec 2012

    Posted 05 Mar 2015 Link to this post

    Hi, I use RadRibbonWindow and when I hover on the Quick Access Tool Bar buttons, screen tips appear in a far lower position as in the image.
    How can I fix this?
  2. Answer
    Martin
    Admin
    Martin avatar
    1099 posts

    Posted 09 Mar 2015 Link to this post

    Hi Dodd,

    The screen tips of the ribbonview components always displays bellow the ribbonview control. This behavior is expected and it can be observed also in the Microsoft's Office applications that contains a ribbon (like Word) which was used as a design reference for our RadRibbonView.

    In order to add a tooltip on the mouse position you can use our RadToolTipService instead of the screen tips.
    <Button telerik:RadToolTipService.ToolTipContent="I am a tooltip" />

    Regards,
    Martin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Wayne
    Wayne avatar
    10 posts
    Member since:
    Feb 2015

    Posted 24 Feb in reply to Martin Link to this post

    Hi Martin,

    Which versions of Office have the behavior where the Quick Access Toolbar tooltip displays below the ribbon like that?

    I checked Office 2010 and Office 2013 and neither behave the way you suggest. It immediately felt like a bug when I saw it, to be honest.

    Also the work around you provide doesn't seem to work, or at least I can't get it to work, when also wanting to keep the multi-line tooltip like Dodd had pictured. It only seems to support single line tool tips.

    I am just writing this reply to help others in future. I found an easy fix for the placement behavior by writing this code:

            private void SetScreenTipPlacement(FrameworkElement element)
            {
                const double X_Y_OFFSET = 10.0;
                element.SetValue(ScreenTip.PlacementProperty, System.Windows.Controls.Primitives.PlacementMode.MousePoint);
                element.SetValue(ScreenTip.VerticalOffsetProperty, X_Y_OFFSET);
                element.SetValue(ScreenTip.HorizontalOffsetProperty, X_Y_OFFSET);    
            }

  5. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 28 Feb Link to this post

    Hello Wayne,

    It seems you are right, the screen tips of the Quick Access Toolbar in Microsoft Office don't display below the ribbon. Please excuse me for misleading you.

    As for the workaround, thank you for sharing it with the UI for WPF community.

    Regards,
    Martin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top