Transition.Condition 属性

定义

指定当触发活动激活时转换要测试的条件。

public:
 property System::Activities::Activity<bool> ^ Condition { System::Activities::Activity<bool> ^ get(); void set(System::Activities::Activity<bool> ^ value); };
[System.Windows.Markup.DependsOn("Action")]
public System.Activities.Activity<bool> Condition { get; set; }
[<System.Windows.Markup.DependsOn("Action")>]
member this.Condition : System.Activities.Activity<bool> with get, set
Public Property Condition As Activity(Of Boolean)

属性值

表示条件的布尔值表达式。

属性

注解

如果表达式计算结果为 false,则不执行转换。 状态机将保持相同状态。

适用于