This is a migrated thread and some comments may be shown as answers.

KeyTipService with single RadRibbonTab

5 Answers 153 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 18 Sep 2013, 01:56 PM
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

5 Answers, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 23 Sep 2013, 10:22 AM
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 >>
0
Jason
Top achievements
Rank 1
answered on 23 Sep 2013, 12:54 PM
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. 
0
Pavel R. Pavlov
Telerik team
answered on 26 Sep 2013, 11:19 AM
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 >>
0
Josée
Top achievements
Rank 1
answered on 29 Feb 2016, 05:25 PM

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!

0
Kiril Vandov
Telerik team
answered on 01 Mar 2016, 11:52 AM
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
Tags
RibbonView and RibbonWindow
Asked by
Jason
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Jason
Top achievements
Rank 1
Josée
Top achievements
Rank 1
Kiril Vandov
Telerik team
Share this question
or