Control.CanRaiseEvents 屬性
定義
判斷是否可以在控制項上引發事件。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
,否則為 false
。true
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.