AxHost::ForeColorChanged Event

 

This API supports the product infrastructure and is not intended to be used directly from your code.

The ForeColorChanged event is not supported by the AxHost class.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
[BrowsableAttribute(false)]
event EventHandler^ ForeColorChanged {
	void add(EventHandler^ value);
	void remove(EventHandler^ value);
}

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.

.NET Framework
Available since 1.1
Return to top
Show: