System.Windows.Forms.AxHost.ForeColorChanged Event

The AxHost.ForeColorChanged event is not supported by the System.Windows.Forms.AxHost class.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.ComponentModel.Browsable(false)]
public event EventHandler ForeColorChanged

Remarks

If you attempt to add or remove a handler for the AxHost.ForeColorChanged event, a NotSupportedException is thrown. The events derived from the System.Windows.Forms.Control class are not supported by the System.Windows.Forms.AxHost class. The events exposed by the ActiveX control when the System.Windows.Forms.AxHost wrapper is created are the events that should be used.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0