DataGrid.ProcessDialogKey(Keys) 方法
定义
获取或设置一个值,该值指示是否应进一步处理某键。Gets or sets a value that indicates whether a key should be processed further.
protected:
override bool ProcessDialogKey(System::Windows::Forms::Keys keyData);
protected override bool ProcessDialogKey (System.Windows.Forms.Keys keyData);
override this.ProcessDialogKey : System.Windows.Forms.Keys -> bool
Protected Overrides Function ProcessDialogKey (keyData As Keys) As Boolean
参数
返回
如果应处理该键,则为 true;否则为 false。true, the key should be processed; otherwise, false.
注解
方法重写 ProcessDialogKey 方法以实现网格的键盘导航。The method overrides the ProcessDialogKey method to implement keyboard navigation of the grid.