Label.KeyPress Label.KeyPress Label.KeyPress Label.KeyPress Event

定義

發生於焦點在標籤,且使用者按下按鍵時。Occurs when the user presses a key while the label has focus.

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

備註

這個事件與這個類別無關。This event is not relevant for this class.

適用於