AxHost.MouseLeave 事件
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
MouseLeave 事件不為 AxHost 類別支援。
public:
event EventHandler ^ MouseLeave;
C#
[System.ComponentModel.Browsable(false)]
public event EventHandler MouseLeave;
C#
[System.ComponentModel.Browsable(false)]
public event EventHandler? MouseLeave;
[<System.ComponentModel.Browsable(false)>]
member this.MouseLeave : EventHandler
Public Custom Event MouseLeave As EventHandler
- 屬性
如果您嘗試新增或移除事件的處理常式 MouseLeave , NotSupportedException 則會擲回 。 類別不支援 AxHost 衍生自 Control 類別的事件。 建立包裝函式時 AxHost ,ActiveX 控制項所公開的事件是應該使用的事件。
產品 | 版本 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |