GroupBox.KeyPress 事件

定义

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

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

事件类型

KeyPressEventHandler
属性

注解

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

适用于