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

Remove Element from Ribbon Bar

1 Answer 139 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Sanjay
Top achievements
Rank 1
Sanjay asked on 19 Apr 2008, 11:21 AM
I want to remove the RadTabStripElement from the ribbon bar from the RadRootElement, I trys in many ways but in vain.
I simply want the RadQuickAccessToolBar in my ribbon bar.


In the RadTitleBarElement I Set the visibility property of RadImageButtonElement for minimize and maximize button. In design mode it shows Ok, but in run time again I found all three button on the title bar. I set Visibility property of ImagePrimitive of StripLayoutPanel, but in running mode again it in view.

How I set these property, Please help.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 21 Apr 2008, 12:04 PM
Hello Sanjay,

Thank you for writing.

Unfortunately, you cannot remove the RadTabStripElement from the RadRibbonBar.

You should hide the Element that contains the Max,Min and Close buttons using the following code:

this

.radRibbonBar1.RibbonBarElement.Children[0].Children[1].Children[1].Visibility = ElementVisibility.Collapsed;

If you have additional questions, do not hesitate to contact me.

Kind regards,

Peter
the Telerik team


Instantly find answers to your questions at the new Telerik Support Center
Tags
RibbonBar
Asked by
Sanjay
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or