Επεξεργασία

Κοινή χρήση μέσω


Activity.Enabled Property

Definition

Gets or sets a value that indicates whether this instance is enabled for execution and validation.

public:
 property bool Enabled { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(true)]
public bool Enabled { get; set; }
[<System.ComponentModel.Browsable(true)>]
member this.Enabled : bool with get, set
Public Property Enabled As Boolean

Property Value

true if enabled for execution and validation; false otherwise.

Attributes

Remarks

If false, all child activities are treated as if this value is false for them also.

This property is a meta property, which means it cannot be changed at runtime. Meta properties do not change after a property instance is created at runtime, so the property must be set to a literal value at design time.

Applies to