ProgressBar.KeyPress 事件

定义

在控件有焦点的情况下用户按下键时发生。

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 

事件类型

属性

注解

控件 ProgressBar 无法接收键盘焦点,因此它永远不会引发 KeyPress 事件。

适用于