RadToolStripItem feature request

8 posts, 0 answers
  1. Todd Gill
    Todd Gill avatar
    5 posts
    Member since:
    Feb 2006

    Posted 12 Feb 2007 Link to this post

    The dropdown caret that lets the user select what buttons are visible, is there a way to disable this or make it only available when all the items do not fit on the toolStripItem.
  2. Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 14 Feb 2007 Link to this post

    Hi Todd,

    Currently we do not support that feature, but I have logged it in for implementation for one of the next releases.

    For now, you can disable or hide the overflow button only. Simply use the following code:

    radToolStripItem.OverflowManager.DropDownButton.Visibility = ElementVisibility.Hidden;  


    If you would like to disable the overflow button you can use the following:

    radToolStripItem.OverFlowManager.DropDownButton.Enabled = false

     
    Sincerely yours,
    Rob
    the telerik team
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Marek
    Marek avatar
    48 posts
    Member since:
    Aug 2005

    Posted 11 Jun 2007 Link to this post

    Along similar lines, is it possible to hide the add/remove items menu item, but leave the overflow button functionality intact?

    Thanks

    Best regards

    Marek
  5. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 11 Jun 2007 Link to this post

    Hello Marek,

    A possible solution is to handle the DropDownOpened event of RadToolStripItem's DropDownButton. You could access that button by using the OverFlowManager property of RadToolStripItem which gives you an instance of  ToolStripItemsOverFlow class, and then use its DropDownButton property and subscribe to the DropDownOpened event of that button.

    In the EventHandler you could change the visibility state of the last item, which in our case is the add/remove items menu item, and is a child of the DropDownButton's items collection.

    Write back if you need further assistance.

     
    Best wishes,
    Ray
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Marek
    Marek avatar
    48 posts
    Member since:
    Aug 2005

    Posted 12 Jun 2007 Link to this post

    Hi Ray
    Many thanks for that, although I would really expect a property along the lines of AllowCustomization = true/false for this kind of thing.

    Any chance it could be added to your TODO list?

    Best regards

    Marek
  7. Jordan
    Admin
    Jordan avatar
    547 posts

    Posted 13 Jun 2007 Link to this post

    Hi Marek,

    Thank you for the suggestion. We have logged it and will consider its implementation for the 2007 Q2 release.
     

    All the best,
    Jordan
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. keith robideau
    keith robideau avatar
    6 posts
    Member since:
    Sep 2009

    Posted 26 Oct 2009 Link to this post

    Was this feature ever implemented?

  9. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 29 Oct 2009 Link to this post

    Hello keith robideau,

    No, we have not added a property called AllowCustomization. However you have full access to the menu items in the toolstripitem dropdown button through the properties of RadToolStripItem class. You can customize the items very easily and if you need you can also hide the toolstripitem overflow button.

    Could you please explain in more details the desired toolstrip functionality of your scenario? This will help us understand the specific case and we will do our best to give you the best solution.

    I hope this helps.

    Greetings,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top
UI for WinForms is Visual Studio 2017 Ready