'宣言<SRCategoryAttribute("CatKey")> <SRDescriptionAttribute("ControlOnKeyPressDescr")> Public Event KeyPress As System.Windows.Forms.KeyPressEventHandler
[SRCategory("CatKey")] [SRDescription("ControlOnKeyPressDescr")] public event System.Windows.Forms.KeyPressEventHandler KeyPress
イベント データ
イベント ハンドラが、このイベントに関連するデータを含む、System.Windows.Forms.KeyPressEventArgs 型の引数を受け取りました。次の KeyPressEventArgs プロパティには、このイベントの固有の情報が記載されます。
| プロパティ | 解説 |
|---|---|
| Handled | Gets or sets a value indicating whether the System.Windows.Forms.Control.KeyPress event was handled. |
| KeyChar | Gets or sets the character corresponding to the key pressed. |
参照