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

定义

确定是否可以在控件上引发事件。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

属性值

如果控件是作为其事件未被冻结的 ActiveX 控件承载的,则为 true;否则为 falsetrue if the control is hosted as an ActiveX control whose events are not frozen; otherwise, false.

注解

如果此控件作为 activex 控件承载,则如果 activex 控件已冻结其false事件,则此属性将返回。If this control is being hosted as an ActiveX control, this property will return false if the ActiveX control has its events frozen.

适用于