Toggle Button + Items (Dropdown)

2 posts, 0 answers
  1. Patrick Barranis
    Patrick Barranis avatar
    68 posts
    Member since:
    Jul 2009

    Posted 29 Aug 2011 Link to this post

    Hi.  I would like to have a RadToggleButtonElement on my ribbon bar, but I would also like it to be able to have items (aka children, aka a dropdown menu).  This may sound strange, but if you open Microsoft Word you'll see what I mean with the "bullet" button - it allows you to turn bullets on or off (toggle), but it also has a dropdown to allow you to set the bullet style.

    I don't see the ability to add items to a RadToggleButtonElement in the RadRibbon.  Is there a way to do this in the 2011 Q1 SP1 release (or was it added in 2011 Q2) ?

    Thanks!
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 01 Sep 2011 Link to this post

    Hello Patrick,

    Thank you for writing.

    You can emulate such a behavior by using RadSplitButtonElement and customize its appearance when pressed, to emulate toggle state. Please refer to the attached project, where you can observe sample implementation.

    I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.
     
    Greetings,
    Stefan
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top