按tab本来会切换cell,让tab 恢复默认切换control
- spread.GetInputMap(InputMapMode.WhenAncestorOfFocused).Put(new Keystroke(Keys.Tab, Keys.None), SpreadActions.None);
- spread.GetInputMap(InputMapMode.WhenAncestorOfFocused).Put(new Keystroke(Keys.Tab, Keys.Shift), SpreadActions.None);
复制代码 |