AxHost.ForeColorChanged Event

Definition

The ForeColorChanged event is not supported by the AxHost class.

public:
 event EventHandler ^ ForeColorChanged;
[System.ComponentModel.Browsable(false)]
public event EventHandler ForeColorChanged;
member this.ForeColorChanged : EventHandler 
Public Custom Event ForeColorChanged As EventHandler 
Attributes

Remarks

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

Applies to