CommandBarStrip Disable Customize Option

1 Answer 139 Views
CommandBar
ADW
Top achievements
Rank 1
ADW asked on 25 Mar 2022, 09:13 AM

Hi Everyone,

Is there a way to hide the customize button of a CommandBarStrip ?

Thank you very much :)

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 25 Mar 2022, 09:42 AM
Hello, Julien,

Please refer to the following code snippet demonstrating how to hide the "customize" button:
this.commandBarStripElement1.OverflowButton.CustomizeButtonMenuItem.Visibility = ElementVisibility.Collapsed;

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

ADW
Top achievements
Rank 1
commented on 25 Mar 2022, 09:55 AM

I have find excatly what I need with your answer :

CommandBarStripElement1.OverflowButton.Visibility = Telerik.WinControls.ElementVisibility.Hidden

Thank you and have a nice Day !

Tags
CommandBar
Asked by
ADW
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or