ConditionalExpression 類別

代表在 ConditionBehavior.Condition 屬性上設定的條件運算式。其中包含的條件清單可在評估後傳回 ICondition.Evaluate() 的 true 或 false 值。

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

語法

'宣告
<ContentPropertyAttribute("Conditions")> _
Public Class ConditionalExpression
    Inherits Freezable
    Implements ICondition
'用途
Dim instance As ConditionalExpression
[ContentPropertyAttribute("Conditions")] 
public class ConditionalExpression : Freezable, ICondition
[ContentPropertyAttribute(L"Conditions")] 
public ref class ConditionalExpression : public Freezable, ICondition
/** @attribute ContentPropertyAttribute("Conditions") */ 
public class ConditionalExpression extends Freezable implements ICondition
ContentPropertyAttribute("Conditions") 
public class ConditionalExpression extends Freezable implements ICondition

繼承階層

System.Object
   System.Windows.Threading.DispatcherObject
     System.Windows.DependencyObject
       System.Windows.Freezable
         Microsoft.Expression.Interactivity.Core.ConditionalExpression

執行緒安全性

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

另請參閱

參照

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