Control.CanRaiseEvents Control.CanRaiseEvents Control.CanRaiseEvents Control.CanRaiseEvents Property

Definition

Determines if events can be raised on the control.

protected:
 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.

Remarks

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