1

We have rotated our DataGrid by "-90" successfully. However, The arrow keys stayed as not rotated.

For example, When we press the UP-Arrow-key it goes left, instead UP, etc.

How can we rotate the Arrow keys to reflect the actual directions of the screen?

Thanks much for your help.

H.B.
  • 166,899
  • 29
  • 327
  • 400
Irmi Mrm
  • 143
  • 1
  • 1
  • 5

1 Answers1

0

Can't imagine what for you've rotated dataGrid, but you can catch the keypress event and transform it to another key press (for example, left transform to up) like in this thread:

Simulating Key Press c#

Community
  • 1
  • 1
Artem Makarov
  • 874
  • 3
  • 14
  • 25