
Hi,
I have a usercontrol with a button inside that has a shortcut to the <PageDown> key through a command binding.
The purpose is that when the user hits the Pagedown Key, the program shows the next page.
This usercontrol is located on two ribbonbar tabs. When I now hit the Pagedown, Not the next page but the page behind it is shown (2 pages further). That means that when I hit the pagedown, the Event is raised two times, instead of 1. What could I do to prevent that from happening?? The command is shared, so should be used once.
I have a usercontrol with a button inside that has a shortcut to the <PageDown> key through a command binding.
The purpose is that when the user hits the Pagedown Key, the program shows the next page.
This usercontrol is located on two ribbonbar tabs. When I now hit the Pagedown, Not the next page but the page behind it is shown (2 pages further). That means that when I hit the pagedown, the Event is raised two times, instead of 1. What could I do to prevent that from happening?? The command is shared, so should be used once.