c# - Capturing indeterminate state in WPF Threestate Checkbox -


After

Then, I have a simple threestate checkbox in a WPF application:

  & lt; Check box checked "checkboxeshecked" unchecked = "checkbox checked" IsThreeState = "True" />   

Now, I have to do this checkbox whenever its position changes, which is why I am unchecking checked and Events for the same method in the scene. Since this is just a simple example, all I think is doing in the law:

  Private Zero CheckBox_Checked (Object Sender, RoutedEventArgs e) {MessageBox.Show ("Test") ; }   

The problem is now that when this check box is checked or unchecked, then it happens when its value changes to an uncertain state. It is clear that I have the Installing events for checked and unchecked , but have lost some event for an uncertain state.

What events do I need to use in order to take action when an uncertain state is set?

To do this apparently you need to use the event as much:

  & lt; Checkbox checked = "CheckBox_Checked" unchecked = "CheckBox_Checked" unsure = "CheckBox_Checked" IsThreeState = "true" />    

Comments

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -