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

Mimizebutton as only way to minimize

5 Answers 44 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Deborah
Top achievements
Rank 1
Deborah asked on 27 Jun 2012, 02:30 PM
Hi,
is it possible to allow the minimization of the menu only clicking the minimizebutton ("disabling" the double click on tab headers)?
Thanks.

5 Answers, 1 is accepted

Sort by
0
Lancelot
Top achievements
Rank 1
answered on 28 Jun 2012, 09:56 PM
Hi Deborah,

You have the ability to disable to minimize functionality of the RadRibbonView, this link will bring you to the documentation on how to do that. 

Good Luck,
Lancelot
0
Deborah
Top achievements
Rank 1
answered on 29 Jun 2012, 12:35 PM
Hi,
I don't want to disable the minimize functionality, I want to disable only the minimization on double click on tab headers...
I want that the user uses only the minimize button.
Thanks,

Deborah
0
Viktor Tsvetkov
Telerik team
answered on 02 Jul 2012, 10:12 AM
Hi Deborah,

You can add a handler for the PreviewMinimizedChanged event and prevent the minimization based on your custom logic.

Greetings,
Viktor Tsvetkov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Deborah
Top achievements
Rank 1
answered on 11 Dec 2012, 10:08 AM
Hi Viktor,
could you please make an example?
In PreviewMinimizedChanged  handler, how can I understand if the event was thrown by clicking minimize button or double clicking on tab headers?
Thanks,
Deborah
0
Kiril Vandov
Telerik team
answered on 14 Dec 2012, 09:44 AM
Hello Deborah,

Currently in the PreviewMinimizedChanged handler there is no way to understand the source triggered that event. However we can bind to the MouseLeftButtonClick on the RadRibbonTabs and calculate the time between the PreviewMinimizedChanged call and the last LeftMouseButtonClick on the Tab.

I have made a sample solution for your convenience.

Greetings,
Kiril Vandov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
RibbonView and RibbonWindow
Asked by
Deborah
Top achievements
Rank 1
Answers by
Lancelot
Top achievements
Rank 1
Deborah
Top achievements
Rank 1
Viktor Tsvetkov
Telerik team
Kiril Vandov
Telerik team
Share this question
or