TaskCardEventArgs Class
Provides event arguments for TaskCard-related events.
public class TaskCardEventArgs : CancelRoutedEventArgs
- Inheritance:
- object EventArgs RoutedEventArgs CancelRoutedEventArgs object
Constructors
TaskCardEventArgs(TaskCard, TaskColumn, int, TaskColumn, int)
Initializes a new instance of the TaskCardEventArgs
class.
public TaskCardEventArgs(TaskCard card, TaskColumn sourceColumn, int sourceIndex, TaskColumn targetColumn, int targetIndex)
Parameter | Type | Description |
---|---|---|
card | TaskCard | The TaskCard for which this event was raised. |
sourceColumn | TaskColumn | The original TaskColumn that contains the card, if this event is related to a drag. |
sourceIndex | int | The original location index of the card, if this event is related to a drag. |
targetColumn | TaskColumn | The TaskColumn over which the card was dropped, if this event is related to a drag. |
targetIndex | int | The dropped location index of the card, if this event is related to a drag. |
Properties
Card
Gets the TaskCard for which this event was raised.
public TaskCard Card { get; }
Property Value
SourceColumn
Gets the original TaskColumn that contains the card, if this event is related to a drag.
public TaskColumn SourceColumn { get; }
Property Value
- TaskColumn:
The original TaskColumn that contains the card, if this event is related to a drag.
SourceIndex
Gets the original location index of the card, if this event is related to a drag.
public int SourceIndex { get; }
Property Value
- int:
The original location index of the card, if this event is related to a drag.
TargetColumn
Gets the TaskColumn over which the card was dropped, if this event is related to a drag.
public TaskColumn TargetColumn { get; }
Property Value
- TaskColumn:
The TaskColumn over which the card was dropped, if this event is related to a drag.
TargetIndex
Gets the dropped location index of the card, if this event is related to a drag.
public int TargetIndex { get; }
Property Value
- int:
The dropped location index of the card, if this event is related to a drag.