Replies: 1 comment
-
Remember the last time it was called and do nothing if it hasn't been long enough? I wouldn't use CanExecute because it is reflected in UI, key bindings etc. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I block a command in MVVM (no third party implementation!) for X milliseconds to avoid its being accidentally executed twice by double press / click?
At the moment I have to create property for the CanExecute command function which I change with delay but I wonder if this can be done any better with less code.
Beta Was this translation helpful? Give feedback.
All reactions