Label.KeyDown Label.KeyDown Label.KeyDown Label.KeyDown Event

定义

当标签有焦点且用户按下某个键时发生。Occurs when the user presses a key while the label has focus.

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

注解

此事件与此类无关。This event is not relevant for this class.

适用于