How do I add one MouseMove Event for all the ComboBoxItems in a ComboBox?
Below is what I tried.
<ComboBox Name="Test>
<ComboBoxItem MouseMove=TestMenuItem_MouseMove">Item1</ComboBoxItem>
<ComboBoxItem MouseMove=TestMenuItem_MouseMove">Item2</ComboBoxItem>
</ComboBox>
Is there any easy or standard way to write a common code for above instead of writing event for each and every ComboBoxItem?
I would like to do this from XAML code.
Try: