KeyTipService with single RadRibbonTab

6 posts, 0 answers
  1. Jason
    Jason avatar
    11 posts
    Member since:
    Aug 2010

    Posted 18 Sep 2013 Link to this post

    Hello, 

    My application uses a RadRibbonView with a single tab in which I hide the header. I would like to add KeyTips to every RadRibbonButton but I don't want to have to give a KepTip to the tab the buttons are part of. 

    Basically, when a user presses the Alt key, I want the KeyTips to appear for all of the RadRibbonButtons in the RadRibbonView such that the user doesn't have to select the RadRibbonTab they are a part of.

    Thanks,
    Jason
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 23 Sep 2013 Link to this post

    Hello Jason,

    The keyboard support of the RadRibbonView control is designed for applications with multiple tabs. Otherwise the keyboard navigation will not be so useful. This is why with the current hierarchical structure of the RadRibbonView control you can not skip the selection of a RadRibbonTab and select (press) a button directly, when it comes to keyboard navigation. Basically the tab is the first element hosting other UIElements hence its selection is necessary.

    On the other hand, the same behavior is observed in all MS Office products.

    Regards,
    Pavel R. Pavlov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Jason
    Jason avatar
    11 posts
    Member since:
    Aug 2010

    Posted 23 Sep 2013 Link to this post

    It would actually be useful to us and our clients. Our application is single tab, and we hide the header of that single tab so there is no concept of tabbed menus in our application. We feel there is no reason to select a tab if there is only one. 
  5. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 26 Sep 2013 Link to this post

    Hi Jason,

    We can see your point and we understand your requirement. However, even thou that you have defined only one tab, a selection of that tab is required due to the current design and implementation of that feature.

    Thank you for understanding and please accept our apology for any inconvenience caused.

    Regards,
    Pavel R. Pavlov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  6. Josée
    Josée avatar
    1 posts
    Member since:
    Feb 2016

    Posted 29 Feb Link to this post

    Hi!

    I'm trying to do exactly the same thing, i.e bypassing the tab's KeyTip and show the RadRibbonButtons KeyTips instead when the user presses ALT. Is there a way I can simulate the KeyTip on the RadRibbonTab so the user doesn't have to press it?

    In other words, lets say my RabRibbonTab has a KeyTip with AccessText="Z", and 2 RadRibbonButtons with KeyTips that have respectively AccessText="A" and AccessText="B". When the user presses the ALT key, I want to intercept it, send the Z key to the RadRibbonTab so the user doesn't see it and doesn't have to press it and he can instead see the AccessText "A" and "B" displayed on the 2 RadRibbonButtons. Can it be done?

    Thanks!

  7. Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 01 Mar Link to this post

    Hello,

    As my college Pavel mentioned this is not supported scenario for the RadRibbonView. However you could trick the activation of the Keytips and achieve your scenario by Raising a KeyUp event for the RadRibbonView with the key needed to activate the tab. Using the KeyUpEvent of the Application you can detect that the pressed Key is LeftAlt (the activation key for the KeyTips) and Raise event in a dispatcher to force the Tabs activation.

    I have attached a sample project demonstrating the approach for your convenience.

    I hope this information helps please let us know if you need further assistance.


    Regards,
    Kiril Vandov
    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
UI for WPF is Visual Studio 2017 Ready