AxHost.EnabledChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The EnabledChanged event is not supported by the AxHost class.
public:
event EventHandler ^ EnabledChanged;
[System.ComponentModel.Browsable(false)]
public event EventHandler EnabledChanged;
[System.ComponentModel.Browsable(false)]
public event EventHandler? EnabledChanged;
[<System.ComponentModel.Browsable(false)>]
member this.EnabledChanged : EventHandler
Public Custom Event EnabledChanged As EventHandler
Event Type
- Attributes
Remarks
If you attempt to add or remove a handler for the EnabledChanged 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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.