C1Ribbon: Possible to disable "minimize ribbon" or remove "move to bottom"

Posted by: lbd34778 on 18 April 2019, 5:36 am EST

  • Posted 18 April 2019, 5:36 am EST

    Hello,

    I'd like to know if its possible to do one of the following.

    A) Prevent users from being able to right click the C1Ribbon.RibbonButtons and getting option to Minimize Ribbon

    or

    B) Remove the QAT option to move below ribbon.

    Thanks!
  • Replied 21 April 2019, 9:51 pm EST

    Hello,

    You can set the AllowMinimize property of the ribbon to False in order to remove the minimize option when the RibbonButtons are right clicked.
    This can be done as follows:
    C1Ribbon1.AllowMinimize = False

    Further, you can also set the Qat.MenuVisible property of C1Ribbon to False to avoid displaying the "Customize QAT" drop-down button. This would lead to hiding the option related to moving QAT to the bottom. This can be set as follows:
    C1Ribbon1.Qat.MenuVisible=False   


    Best Regards,
    Esha
  • Marked as Answer

    Replied 24 April 2019, 2:17 am EST

    Esha,

    Thank you SO much! I was trying to figure out how to get mousedown and make a custom class derived for the ribbon buttons. This makes my life so much easier.

    You've literally made my day :)
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels