Compartir a través de

Control.CanRaiseEvents Property


Determines if events can be raised on the control.

 virtual property bool CanRaiseEvents { bool get(); };
protected override bool CanRaiseEvents { get; }
member this.CanRaiseEvents : bool
Protected Overrides ReadOnly Property CanRaiseEvents As Boolean

Property Value

true if the control is hosted as an ActiveX control whose events are not frozen; otherwise, false.


If this control is being hosted as an ActiveX control, this property will return false if the ActiveX control has its events frozen.

Applies to