EventTriggerBase 類別

代表可聆聽其 AssociatedObject 以外之物件的觸發程序。

命名空間: System.Windows.Interactivity
組件: System.Windows.Interactivity (在 system.windows.interactivity.dll 中)

語法

'宣告
Public MustInherit Class EventTriggerBase
    Inherits TriggerBase
'用途
Dim instance As EventTriggerBase
public abstract class EventTriggerBase : TriggerBase
public ref class EventTriggerBase abstract : public TriggerBase
public abstract class EventTriggerBase extends TriggerBase
public abstract class EventTriggerBase extends TriggerBase

備註

這是基礎結構類別。觸發程序撰寫者應從 EventTriggerBase<T> 衍生,而不是從這個類別衍生。

繼承階層

System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Freezable
System.Windows.Media.Animation.Animatable
System.Windows.Interactivity.TriggerBase
System.Windows.Interactivity.EventTriggerBase
System.Windows.Interactivity.EventTriggerBase

執行緒安全性

此型別的所有公用靜態 (Visual Basic 中為 Shared ) 成員均為安全執行緒。任何例項成員則不保證為安全執行緒。

另請參閱

參照

EventTriggerBase 成員
System.Windows.Interactivity 命名空間