This is a migrated thread and some comments may be shown as answers.

Element is Ribbonbar StartButton

3 Answers 42 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Ammar
Top achievements
Rank 1
Ammar asked on 13 May 2015, 12:14 PM
there are 2 button (option & Exit) in right side of menu, how i can to hide them from menu?

3 Answers, 1 is accepted

Sort by
0
Ammar
Top achievements
Rank 1
answered on 13 May 2015, 12:19 PM

sorry,,

title : Element in Ribbonbar StartButton 

 

 

 

0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 13 May 2015, 01:15 PM
Hello Ammar,

Thank you for writing.

In order to achieve your goal, you can refer to the following code snippet:
RadApplicationMenuDropDown dd = this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.DropDownMenu as RadApplicationMenuDropDown;
RadApplicationMenuDropDownElement el = dd.PopupElement as RadApplicationMenuDropDownElement;
el.BottomContentElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

I hope this information helps. Should you have further questions, I would be glad to help.
 
Regards,
Dess
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Ammar
Top achievements
Rank 1
answered on 13 May 2015, 02:04 PM

good bro its work fine, thanks alot

 

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