RadRibbonBar default Options/Exit bottons

4 posts, 1 answers
  1. olepadre
    olepadre avatar
    8 posts
    Member since:
    Apr 2007

    Posted 29 Jul 2015 Link to this post

    I am using WinControls 2015.2.728.40 and I have read through the forums and I can neither find the listed properties in property grid design time and I cannot access the property .click programmatically.

     This does not work.

    Public Sub New()
     InitializeComponent()
     Me.radRibbonBar1.OptionsButton.Click += New EventHandler(AddressOf OptionsButton_Click)
     Me.radRibbonBar1.ExitButton.Click += New EventHandler(AddressOf ExitButton_Click)
    End Sub

     

    suggestion on how to actually use the default buttons rather than just remove them?

  2. Answer
    Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 30 Jul 2015 Link to this post

    Hello Robert,

    Here is how to add an event handler for the button:
    AddHandler radRibbonBar1.OptionsButton.Click, AddressOf OptionsButton_Click

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

    Regards,
    Stefan
    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. olepadre
    olepadre avatar
    8 posts
    Member since:
    Apr 2007

    Posted 30 Jul 2015 in reply to Stefan Link to this post

    Thank you, that makes sense. 

     what doesn't make sense is why this basic, simple handler is not already there by default. Major flaw, IMHO.

  5. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 30 Jul 2015 Link to this post

    Thank you for your opinion on the matter. I am glad you solved this.

    Regards,
    Stefan
    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
Back to Top