Rediger

Del via


ProgressBar.KeyDown Event

Definition

Occurs when the user presses a key while the control has focus.

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 

Event Type

Attributes

Remarks

The ProgressBar control cannot receive keyboard focus, so it never raises the KeyDown event.

Applies to