vb System.Windows.Forms.IDataGridViewEditingControl.EditingControlWantsInputKey类(方法)实例源码

下面列出了vb System.Windows.Forms.IDataGridViewEditingControl.EditingControlWantsInputKey 类(方法)源码代码实例,从而了解它的用法。

作者:VB.NET开发    项目:System.Windows.Form   
Public Function EditingControlWantsInputKey(ByVal key As Keys, _
    ByVal dataGridViewWantsInputKey As Boolean) As Boolean _
    Implements IDataGridViewEditingControl.EditingControlWantsInputKey

    ' Let the DateTimePicker handle the keys listed.
    Select Case key And Keys.KeyCode
        Case Keys.Left, Keys.Up, Keys.Down, Keys.Right, _
            Keys.Home, Keys.End, Keys.PageDown, Keys.PageUp

            Return True

        Case Else
            Return Not dataGridViewWantsInputKey
    End Select

End Function


问题


面经


文章

微信
公众号

扫码关注公众号