How to prevent user from entering Normal LayoutMode in Ribbon ?

My application has few icons, I would like to hide the button on the bottom rightmost corner of the ribbon which changes the LayoutMode. How to achieve this ?


3 Replies 1 reply marked as answer

SS Sekar Sivalingam Syncfusion Team January 22, 2025 01:55 PM UTC

Hi Santhosh Kumar Bathruswamy,

There is no direct API available to hide the specific RibbonToggleButton that handles the LayoutMode in the Ribbon control. However, we’ve prepared a solution that achieves your requirement by setting the visibility of this button through a code-behind approach.

Please let us know if you need any further assistance or clarifications.


Regards,
Sekar Sivalingam


Attachment: Ribbon_5c4fb20b.zip

Marked as answer

SK Santhosh Kumar Bathruswamy January 23, 2025 07:52 AM UTC

Thank you Sekar, it works as expected.



SS Sekar Sivalingam Syncfusion Team January 23, 2025 09:55 AM UTC

Hi Santhosh Kumar Bathruswamy,

We’re glad to hear that your requirement has been achieved successfully! If you have any further questions or need additional assistance, feel free to reach out.

Regards,
Sekar Sivalingam


Loader.
Up arrow icon