sample combobox (xaml):
<ComboBox Height="23" Name="status" IsReadOnly="True" ItemsSource="{Binding}" Width="120" SelectedItem="test">
</ComboBox>
how i can starting event click (etc...) or changed, on my combobox?
sample combobox (xaml):
<ComboBox Height="23" Name="status" IsReadOnly="True" ItemsSource="{Binding}" Width="120" SelectedItem="test">
</ComboBox>
how i can starting event click (etc...) or changed, on my combobox?
You can add events for the mouse to the combobox by typing Mouse and seeing the options available. Here is an event you can add: MouseDown="ComboBox_MouseDown"
<ComboBox MouseDown="ComboBox_MouseDown" Height="23" Name="status" IsReadOnly="True" ItemsSource="{Binding}" Width="120" SelectedItem="test">
</ComboBox>
Then in the code behind add:
private void ComboBox_MouseDown(object sender, MouseButtonEventArgs e)
{
//Your code here
}