This is a migrated thread and some comments may be shown as answers.

RadRibbonBar default Options/Exit bottons

3 Answers 60 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
olepadre
Top achievements
Rank 1
olepadre asked on 29 Jul 2015, 05:40 PM

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?

3 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 30 Jul 2015, 06:21 AM
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
0
olepadre
Top achievements
Rank 1
answered on 30 Jul 2015, 11:14 AM

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.

0
Stefan
Telerik team
answered on 30 Jul 2015, 12:42 PM
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
Tags
RibbonBar
Asked by
olepadre
Top achievements
Rank 1
Answers by
Stefan
Telerik team
olepadre
Top achievements
Rank 1
Share this question
or