ribbontab minimize when clicking on start menu

2 posts, 0 answers
  1. Randy
    Randy avatar
    1 posts
    Member since:
    Jan 2013

    Posted 18 Jan 2013 Link to this post

    Hi
    How can i minimize Ribbon Tab when clicking on start menu  if ribbon bar expanded property is set to true
     

    Best Regards,
    Randy
  2. Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 21 Jan 2013 Link to this post

    Hi Randy,

    Thank you for writing.

    To minimize the ribbon when the application button is clicked, you should set the Expanded property to false. Here is a sample:
    radRibbonBar1.RibbonBarElement.ApplicationButtonElement.Click += ApplicationButtonElement_Click;
     
    void ApplicationButtonElement_Click(object sender, EventArgs e)
    {
        radRibbonBar1.Expanded = false;
    }

    I hope this helps.
     

    All the best,
    Stefan
    the Telerik team
    Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top