I have a windows application in which I have two buttons for moving the items up and down in the gridview.
But the problem is:
The click event is called only when I release the key.
What I need:
The click event should fire when I press and hold the key and should stop when I release the key. means something like scroll up and down button.
On MouseDown event of button change some class level member for instance
On MouseUp event of button change
And do what ever you do between these two states….