Hi All-
Is there anyway that I can use my own custom shorcuts instead of selecting from the drop down in the shared props property of the tool.
Thanks in advance.
-Swetha.
Yes, you can create a custom shortcut combination by or-ing together values from the Keys enum. Cast the resulting value to a Shortcut enum type and set it on the SharedProps.Shortcut property:
tool.SharedProps.Shortcut = (Shortcut)( Keys.Control | Keys.Down );