Mimizebutton as only way to minimize

6 posts, 0 answers
  1. Deborah
    Deborah avatar
    31 posts
    Member since:
    Jun 2011

    Posted 27 Jun 2012 Link to this post

    Hi,
    is it possible to allow the minimization of the menu only clicking the minimizebutton ("disabling" the double click on tab headers)?
    Thanks.
  2. Lancelot
    Lancelot avatar
    251 posts
    Member since:
    Jul 2012

    Posted 28 Jun 2012 Link to this post

    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
  3. DevCraft banner
  4. Deborah
    Deborah avatar
    31 posts
    Member since:
    Jun 2011

    Posted 29 Jun 2012 Link to this post

    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
  5. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 02 Jul 2012 Link to this post

    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 >>

  6. Deborah
    Deborah avatar
    31 posts
    Member since:
    Jun 2011

    Posted 11 Dec 2012 Link to this post

    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
  7. Kiril Vandov
    Admin
    Kiril Vandov avatar
    324 posts

    Posted 14 Dec 2012 Link to this post

    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.

Back to Top
DevCraft banner