6 Answers, 1 is accepted
I am not sure that I completely understand your requirement. Can you please tell me what you mean by saying that the RadRibbonGroup is opened on ribbon tab's double click? Furthermore, drawings of the actual and the expected result will be helpful.
Also, you can pin the popup with the content of the selected tab by using the RadRibbonView's IsMinimized property. As for a Click event on the RadRibbonTab control, there is no such event, however, you can use the AddHandler() method of the tab to subscribe for the MouseLeftButtonDown event which might be helpful for your case.
tab.AddHandler(RadRibbonTab.MouseLeftButtonDownEvent,
new
MouseButtonEventHandler(RadRibbonTab_MouseLeftButtonDown),
true
);
Thank you for any help you can provide.
Regards,
Martin
Telerik
Thanks for a reply.
How to add a handler for double click Event on the Ribbon Tab?
To listen for double click you can subscribe for the MouseLeftButtonDown event and check the ClickCount value of the event arguments.
private
void
RadRibbonTab_MouseLeftButtonDown(
object
sender, MouseButtonEventArgs e)
{
if
(e.ClickCount > 1)
// that means the element is double (or more) clicked
{
}
}
Regards,
Martin
Telerik
Thanks for reply.
Without RadRibbonView control, shall i able to open the RadRibbonTab control on the Single click?
If above one is not possible, How shall i remove the Back Stage Button and Title bar from RadRibbon View ? Because, earlier they achieved with rad Ribbon Tab without RadRibbon View, If i introduced the that (View) control, it occupies the space and introducedthe button on the left called Back stage button. So, How do i remove it and it's title? Title and Application name are setted to empty. Even though it is occupying the space.
Thanks for your precious reply.
All are done. Lot of property like IsApplicationButtonEnabled and Title bar Visibility, helped me to do above one.