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

How Handle click event on RadButton

1 Answer 99 Views
Buttons
This is a migrated thread and some comments may be shown as answers.
gizmo
Top achievements
Rank 1
gizmo asked on 31 Oct 2011, 09:07 AM
I've a trouble.I want to Handle the click event on RadButton (like in MouseButtonEventArgs ),but I can't find this property in RoutedEventArgs.And if I  trying to implement MouseLeftButtonDown event in codebehind nothing happens, I can't subscribe on this event, bit with Click event all ok. How stop or handle Click event?

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 03 Nov 2011, 08:30 AM
Hello Gizmo,

 The MouseLeftButtonDown event is handled by default and that is why it does not fire in your case. You have to attach to it via the RadButton.AddHandler method which allows using a handled events.

Best wishes,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Buttons
Asked by
gizmo
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or