views:

124

answers:

0

I'm trying to customize the DatePicker control in Silverlight 2. I don't want it to show the button, but whenever I double click in the control I want it to popup the calender that's part of the control.

I've found the IsDropDownOpen property that I can set to show the dropdown. I also have some code to facilitate a double click like behaviour. The one thing I can't get to work is the MouseLeftButtonUp event. I've placed it directly on the DatePicker control itself and it won't fire. I've also placed it on the DatePickerTextBox, which is used in the default template for the DatePicker, but still no event is fired.

Why don't events fire and is there a way around this?