GroupBox.KeyDown 事件

定义

GroupBox 控件具有焦点并且用户按任意键时发生。

public:
 event System::Windows::Forms::KeyEventHandler ^ KeyDown;
[System.ComponentModel.Browsable(false)]
public event System.Windows.Forms.KeyEventHandler KeyDown;
[System.ComponentModel.Browsable(false)]
public event System.Windows.Forms.KeyEventHandler? KeyDown;
[<System.ComponentModel.Browsable(false)>]
member this.KeyDown : System.Windows.Forms.KeyEventHandler 
Public Custom Event KeyDown As KeyEventHandler 

事件类型

KeyEventHandler
属性

注解

GroupBox由于控件无法获得焦点,因此永远不会引发此事件。

适用于