I am working on a ground application and I have a problem with several buttons pressed at once.
I have a menu control with a few buttons, some of them are bound to commands which leave the hosting window out of menu control and some more, whereas some just tilt the eventtrigger, which Menu controls fade through different views-states. The problem is that on the surface you can also press 10 buttons at the same time, which causes a strange effect, so I would like to disable all the buttons in my control when one is pressed indefinitely or until fade The animation will not complete and possibly the button to move to more than one pressed state.
Any clean idea or should I handle all the touch inputs and state machine manually?
If you join a custom command, you can
bool CanExecute Returning
False Do not enable the button without which commands should be traditionally handled .
Comments
Post a Comment