I am not sure which event you need to subscribe to. However, it is most likely that the RadOutlookBarItem
handles that event and this is why you can not catch it in you handler. However, if you try to listen for the already handled events you will be able to hear it.
Lets say that you need to subscribe to the MouseLeftButtonDown
event of the RadOutlookBarItem
. This event is internally handled and if you try to subscribe to it in XAML with the default event handler, your handler will not be invoked. This is why you need to subscribe in code like this:
.testitem.AddHandler ( RadOutlookBarItem.MouseLeftButtonDownEvent,
MouseButtonEventHandler ( OnMouseDown ),
sender, MouseButtonEventArgs e)
Please give this approach a try and let me know if it works for you.
Pavel R. Pavlov
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>