WinForms › Project Management › LinksChangingEventArgs
LinksChangingEventArgs
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.ProjectManagement
A proposed change to the links into one task: links to add and links to remove. Drawing a link adds one; typing into the Predecessors cell replaces all of a task's incoming links.
public class LinksChangingEventArgs : CancelEventArgs
Inherits from / implements: CancelEventArgs
Members at a glance
LinksChangingEventArgs | Creates the event data. |
Added | New link objects that would be added to the links collection. |
Removed | Links from the collection that would be removed from it. |
Source | How the reader made the edit. |
TaskId | The id of the task whose incoming links change. |
Constructors
LinksChangingEventArgs
public LinksChangingEventArgs(string taskId, TaskEditSource source, IReadOnlyList<TaskLink> added, IReadOnlyList<TaskLink> removed)
Creates the event data.
- taskId
- The id of the task whose incoming links change.
- source
- How the reader made the edit.
- added
- Links that would be added.
- removed
- Links that would be removed.
Properties
Added
public IReadOnlyList<TaskLink> Added
New link objects that would be added to the links collection.
Removed
public IReadOnlyList<TaskLink> Removed
Links from the collection that would be removed from it.
Source
public TaskEditSource Source
How the reader made the edit.
TaskId
public string TaskId
The id of the task whose incoming links change.