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

KeyTips AccessText Positions get overlapped

1 Answer 126 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Shaon
Top achievements
Rank 1
Shaon asked on 14 May 2019, 05:26 AM

Hi,

I am using the Telerik KeyTipService for putting up AccessTexts on RadRibbonButtons. The Access Text positions are getting overlapped for some of the RabRibbonButtons.

Please have a look at the attachments.

In the attachment("AccessTextsOverlap.png"), The AccessText for "ZoomOut" is getting hidden under the Access Text for "Pan".

The code snippet is given in the attachment("Code.PNG").

Is there a way to control the position or placement of the access texts?  

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 16 May 2019, 11:00 AM
Hi Shaon,

Thank you for the provided images.

The RadRibbonView does not provide such API which can control the position of the KeyTips. I tried different approaches on me and there's no an easy way to do that. Still, I think I manage to found a possible one. Basically, every key tip is represented by a KeyTipControl placed inside a Popup. What I have in mind is to create an implicit style which targets KeyTipControl and subscribe to its Loaded event using EventSetter. In the event handler, you can check the current content of the KeyTipControl, get the parent popup and change its Placement property. I have prepared a sample project which demonstrate this behavior. Hope it will works on your side.

As a side note, I think that this could be a good-to-have feature of the KeyTips. That is why I have logged a Feature Request in our Feedback Portal where you can track its progress and vote for its implementation. I have updated your Telerik Points for bringing this behavior to our attention.

Regards,
Dinko
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
RibbonView and RibbonWindow
Asked by
Shaon
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or