WPF › Project Management › CardMovingEventArgs
CardMovingEventArgs
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.ProjectManagement
A proposed move of a card on the task board: to another column, lane or position.
public class CardMovingEventArgs : CancelEventArgs
Inherits from / implements: CancelEventArgs
Members at a glance
CardMovingEventArgs | Creates the event data. |
FromLane | The lane the card is in; empty for the lane of tasks without a value. |
FromStatus | The column the card is in. |
Source | How the reader made the move. |
Task | The task whose card would move. It has not changed yet. |
ToIndex | The card's position in the cell it would go to, from 0. |
ToLane | The lane the card would go to. |
ToStatus | The column the card would go to. |
Constructors
CardMovingEventArgs
public CardMovingEventArgs(ProjectTask task, TaskEditSource source, string fromStatus, string toStatus, string fromLane, string toLane, int toIndex)
Creates the event data.
- task
- The task whose card would move.
- source
- How the reader made the move.
- fromStatus
- The column it is in.
- toStatus
- The column it would go to.
- fromLane
- The lane it is in; empty for the lane of tasks without a value.
- toLane
- The lane it would go to.
- toIndex
- Its position in the cell it would go to, from 0.
Properties
FromLane
public string FromLane
The lane the card is in; empty for the lane of tasks without a value.
FromStatus
public string FromStatus
The column the card is in.
Source
public TaskEditSource Source
How the reader made the move.
Task
public ProjectTask Task
The task whose card would move. It has not changed yet.
ToIndex
public int ToIndex
The card's position in the cell it would go to, from 0.
ToLane
public string ToLane
The lane the card would go to.
ToStatus
public string ToStatus
The column the card would go to.