Tsk.IsActive

Tsk.IsActive field

Determines whether a task is active. Inactive tasks no longer affect other tasks or the overall Project schedule.

public static readonly Key<NullableBool, TaskKey> IsActive;

Examples

Shows how to read/write Tsk.IsActive property.

var project = new Project();

var task = project.RootTask.Children.Add("Task");

task.Set(Tsk.IsActive, true);

Console.WriteLine("Is Active: " + task.Get(Tsk.IsActive));

See Also