Version

TaskConstraintWarning Event

Invoked when a warning occurs with a constraint of a ProjectTask from the project.
Syntax
'Declaration
 
Public Event TaskConstraintWarning As EventHandler(Of ProjectTaskConstraintWarningEventArgs)
public event EventHandler<ProjectTaskConstraintWarningEventArgs> TaskConstraintWarning
Event Data

The event handler receives an argument of type ProjectTaskConstraintWarningEventArgs containing data related to this event. The following ProjectTaskConstraintWarningEventArgs properties provide information specific to this event.

PropertyDescription
Action Returns or sets the action which should be used to resolve the warning.
ConstraintMustBeModified Returns the value which determines whether the constraint on the task must be modified.
NewConstraintDateLocal Returns or sets the new date to set on the ProjectTask.ConstraintDate in the local time of the task if Action is ModifyConstraint.
NewConstraintType Returns or sets the new constraint type to set on the ConstraintType if Action is ModifyConstraint.
Task (Inherited from Infragistics.Controls.Schedules.ProjectTaskEventArgs)Returns the ProjectTask associated with the event.
Type Returns the type of warning which has occurred on the task.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also