DataGrid.ProcessGridKey(KeyEventArgs) 方法

定义

处理键进行网格导航。

protected:
 bool ProcessGridKey(System::Windows::Forms::KeyEventArgs ^ ke);
protected bool ProcessGridKey (System.Windows.Forms.KeyEventArgs ke);
member this.ProcessGridKey : System.Windows.Forms.KeyEventArgs -> bool
Protected Function ProcessGridKey (ke As KeyEventArgs) As Boolean

参数

ke
KeyEventArgs

一个 KeyEventArgs,它包含有关键释放或键按下事件的数据。

返回

如果已处理该键,则为 true;否则为 false

适用于