EventTriggerBase.AssociatedObjectTypeConstraint 屬性
取得關聯物件的類型限制。
命名空間: System.Windows.Interactivity
組件: System.Windows.Interactivity (在 system.windows.interactivity.dll 中)
語法
'宣告
Protected Overrides NotOverridable ReadOnly Property AssociatedObjectTypeConstraint As Type
'用途
Dim value As Type
value = Me.AssociatedObjectTypeConstraint
protected override sealed Type AssociatedObjectTypeConstraint { get; }
protected:
virtual property Type^ AssociatedObjectTypeConstraint {
Type^ get () override sealed;
}
/** @property */
protected final Type get_AssociatedObjectTypeConstraint ()
protected override final function get AssociatedObjectTypeConstraint () : Type
備註
在衍生的類型上定義 TypeConstraintAttribute,以限制它可附加到的類型。
執行緒安全性
此型別的所有公用靜態 (Visual Basic 中為 Shared ) 成員均為安全執行緒。任何例項成員則不保證為安全執行緒。
另請參閱
參照
EventTriggerBase 類別
EventTriggerBase 成員
System.Windows.Interactivity 命名空間