Skip to main content

Microsoft Silverlight

Answered Question MouseLeftButtonDown of ComboBox control is not firing...RSS Feed

(0)

mr.saif
mr.saif

Member

Member

417 points

147 Posts

MouseLeftButtonDown of ComboBox control is not firing...

MouseLeftButtonDown of ComboBox control is not firing. Does any one know Y? I know that for some controls we have to override mouseleftbuttondown event to fire these events to control. i have did so by adding my own dropdown class and overriding its mouseleftbuttondown event. It still does not get fired even in my class.

any idea?

Regards,
Muhammad Saifullah

HarshBardhan
HarshBar...

Star

Star

9908 points

1,719 Posts

Re: MouseLeftButtonDown of ComboBox control is not firing...

Hi,

Provide your sample code so that we will be able to check .....

Mark as answer if this post answered your question.

Harsh Bardhan

Amanda Wang - MSFT
Amanda W...

All-Star

All-Star

17241 points

1,466 Posts

Answered Question

Re: MouseLeftButtonDown of ComboBox control is not firing...

 Hi mr.saif,

mr.saif:
MouseLeftButtonDown of ComboBox control is not firing. Does any one know Y?
 

 Maybe, it is by design.

What do you mean adding your own dropdown class?

If you set the data to ComboBox's ItemsSource property, the ComboBox's DropDown will show your data. 

And you can define a DataTemplate in your XAML to implement the complex dropdown combo box items.

Or if you want to run into some needs to format the data in the XAML.,you can try to converters inherits IValueConverter interface which gives you Convert and ConvertBack functions you have to implement.

 

Amanda Wang
Microsoft Online Community Support

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities