AxHost.ForeColorChanged 活動
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
該 ForeColorChanged 活動不由 AxHost 班級支持。
public:
event EventHandler ^ ForeColorChanged;
[System.ComponentModel.Browsable(false)]
public event EventHandler ForeColorChanged;
[System.ComponentModel.Browsable(false)]
public event EventHandler? ForeColorChanged;
[<System.ComponentModel.Browsable(false)>]
member this.ForeColorChanged : EventHandler
Public Custom Event ForeColorChanged As EventHandler
事件類型
- 屬性
備註
如果你嘗試新增或移除該事件的處理者 ForeColorChanged ,就會擲出 a NotSupportedException 。 從該 Control 類別衍生出的事件不由 AxHost 該類別支援。 當 ActiveX 控制項建立包裝器時 AxHost 所暴露的事件,就是應該使用的事件。