Bewerken

Delen via


AxHost.ContextMenuChanged Event

Definition

The ContextMenuChanged event is not supported by the AxHost class.

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

Event Type

Attributes

Remarks

If you attempt to add or remove a handler for the ContextMenuChanged 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