Remove Element from Ribbon Bar

2 posts, 0 answers
  1. Sanjay
    Sanjay avatar
    5 posts
    Member since:
    Jan 2008

    Posted 19 Apr 2008 Link to this post

    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.
  2. Peter
    Peter avatar
    1157 posts

    Posted 21 Apr 2008 Link to this post

    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:


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

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

    Kind regards,

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top