5 Answers, 1 is accepted
0
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
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
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
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
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
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
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.