Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1350
Disable double click on ribbon tab to minimize ribbon
posted

Hi,

how do I disable the behaviour that the ribbon collapse on double click on ribbon tabs?

Found some forum entries which are at least 4 years old telling that it is not possible and one should request this as feature.

I guess those people did. So, how to disable it?

Regards

Michael

Parents
  • 34830
    Offline posted

    Hello Michael,

    I have also found forum entries that are rather old that suggest that a user suggests a product idea for this feature, but when looking through our suggested features, I cannot seem to find one that matches this. As such, nothing has been implemented for this at the moment, and if you would like to see it implemented, I would recommend suggesting this feature at our Windows Forms ideas site.

    As this behavior does seem to have been requested on the forums quite a bit, I’d like to offer a workaround in this case. I would recommend utilization of an IMessageFilter to catch the Mouse left button double-click if it is over an UltraToolbarsDockArea and mark it handled if so. This will prevent the internal MouseDoubleClick code from going through, and effectively prevent the ribbon from collapsing on double-click.

    I am attaching a sample project to demonstrate this. I hope it helps you.

    Please let me know if you have any other questions or concerns on this matter.

Reply Children