关于TAB键和回车键的方向问题
现在表格中,TAB键是向右移,回车键向下移,我想让TAB键向下,回车键向右,可以实现吗? 回复 1楼swejet的帖子可以实现,代码如下:
gcSpreadSheet1.View.KeyMap.Remove(new KeyStroke(Key.Enter, ModifierKeys.None));
gcSpreadSheet1.View.KeyMap.Add(new KeyStroke(Key.Enter, ModifierKeys.None), SpreadActions.NavigationDown);
gcSpreadSheet1.View.KeyMap.Remove(new KeyStroke(Key.Tab, ModifierKeys.None));
gcSpreadSheet1.View.KeyMap.Add(new KeyStroke(Key.Tab, ModifierKeys.None), SpreadActions.NavigationRight);
页:
[1]