i have a SpinEdit with Min and Max values (Figure 1 and 2). How can I turn off the Export button if I click the Delete button in SpinEdit (Figure 3) or enter a value outside of the Min and Max values? Clicking the Delete button does not trigger the ValueChanged.
When SpinEdit holds an invalid value, its HasValidationError property returns True. This is also the case for values that do not belong to the minimum and maximum values range. So, as long as the clear button assigns such a value to your editor, you can bind your button's IsEnabled property to HasValidationError and invert the result to disable it. Otherwise, you can handle the EditValueChanged event and provide your custom logic in its handler method. I tried this approach and see that this event fires as expected after the clear button is pressed. Here is a screencast demonstrating this behavior:
Let me know if you have any further questions.