Element is Ribbonbar StartButton

4 posts, 1 answers
  1. Ammar Khalil
    Ammar Khalil avatar
    15 posts
    Member since:
    May 2015

    Posted 13 May 2015 Link to this post

    there are 2 button (option & Exit) in right side of menu, how i can to hide them from menu?
  2. Ammar Khalil
    Ammar Khalil avatar
    15 posts
    Member since:
    May 2015

    Posted 13 May 2015 Link to this post

    sorry,,

    title : Element in Ribbonbar StartButton 

     

     

     

  3. UI for WinForms is Visual Studio 2017 Ready
  4. Answer
    Dess
    Admin
    Dess avatar
    1607 posts

    Posted 13 May 2015 Link to this post

    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
  5. Ammar Khalil
    Ammar Khalil avatar
    15 posts
    Member since:
    May 2015

    Posted 13 May 2015 in reply to Dess Link to this post

    good bro its work fine, thanks alot

     

Back to Top