Panning, WinForm Keyboard arrow keys

Oystein Bjorke 10 lat temu 0
This discussion was imported from CodePlex

davidt07 wrote at 2011-11-15 06:50:

Hi, in Silverlight examples it's possible to pan with arrow keys in WinForms?  Also, are there shortcut keys for zooming in and out again for WinForms control?

Thank you very much, it's an awesome project :D 

David


objo wrote at 2011-11-16 18:46:

you are right, arrow keys were not included in the WinForms control. But try the latest version 72355!

Use PgUp/PgDn or Add/Subtract/Plus/Minus keys to zoom. Use "Ctrl" for finer steps.

If you want to reverse the directions, change the sign on KeyboardPanHorizontalStep and KeyboardPanVerticalStep. These properties can also be changed if you want larger or smaller steps.


davidt07 wrote at 2011-11-17 02:53:

Thank you, I will take a look.

This project really is looking very good :D

thanks

David