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

RadRibbonTab Click or Tab event

6 Answers 118 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Gokul
Top achievements
Rank 1
Gokul asked on 11 Sep 2015, 07:38 AM

How to control the RabRibbon Tab?

By Default, The RadRibbonGroup will be opened once TadRibbonTab is double- clicked.

How do i make it in single click and Pin the RadRibbinGroup Pop up?

6 Answers, 1 is accepted

Sort by
0
Gokul
Top achievements
Rank 1
answered on 11 Sep 2015, 09:23 AM
Simply, I need Click on the RadRibbonTab control...
0
Martin Ivanov
Telerik team
answered on 15 Sep 2015, 03:44 PM
Hello Gokul,

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
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
0
Gokul
Top achievements
Rank 1
answered on 16 Sep 2015, 06:40 AM

Thanks for a reply.

How to add a handler for double click Event on the Ribbon Tab?

0
Martin Ivanov
Telerik team
answered on 16 Sep 2015, 07:21 AM
Hello Gokul,

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
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
0
Gokul
Top achievements
Rank 1
answered on 17 Sep 2015, 02:09 PM

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.

0
Gokul
Top achievements
Rank 1
answered on 18 Sep 2015, 09:11 AM

Thanks for your precious reply.

 All are done. Lot of property like IsApplicationButtonEnabled and Title bar Visibility, helped me to do above one.

Tags
RibbonView and RibbonWindow
Asked by
Gokul
Top achievements
Rank 1
Answers by
Gokul
Top achievements
Rank 1
Martin Ivanov
Telerik team
Share this question
or