AxHost.KeyPress イベント

定義

KeyPress イベントは、AxHost クラスではサポートされません。

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 

イベントの種類

属性

注釈

イベントのハンドラー KeyPress を追加または削除しようとすると、 NotSupportedException がスローされます。 クラスから Control 派生したイベントは、 クラスでは AxHost サポートされていません。 ラッパーの作成時 AxHost に ActiveX コントロールによって公開されるイベントは、使用する必要があるイベントです。

適用対象