ConditionBehavior 類別

行為,此行為可附加至觸發程序,並控制觸發條件的動作。

命名空間: Microsoft.Expression.Interactivity.Core
組件: Microsoft.Expression.Interactions (在 microsoft.expression.interactions.dll 中)

語法

'宣告
<ContentPropertyAttribute("Condition")> _
Public Class ConditionBehavior
    Inherits Behavior(Of TriggerBase)
'用途
Dim instance As ConditionBehavior
[ContentPropertyAttribute("Condition")] 
public class ConditionBehavior : Behavior<TriggerBase>
[ContentPropertyAttribute(L"Condition")] 
public ref class ConditionBehavior : public Behavior<TriggerBase^>
/** @attribute ContentPropertyAttribute("Condition") */ 
public class ConditionBehavior extends Behavior<TriggerBase>
ContentPropertyAttribute("Condition") 
public class ConditionBehavior extends Behavior<TriggerBase>

繼承階層

System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Freezable
System.Windows.Media.Animation.Animatable
System.Windows.Interactivity.Behavior
System.Windows.Interactivity.Behavior
Microsoft.Expression.Interactivity.Core.ConditionBehavior

執行緒安全性

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

另請參閱

參照

ConditionBehavior 成員
Microsoft.Expression.Interactivity.Core 命名空間