Class CustomListBoxDragDropBehaviour
Represents the custom list box drag and drop behaviour, which responsible for the dragdrop between the list box
Inheritance
System.Object
CustomListBoxDragDropBehaviour
Namespace: Simplic.PlugIn.Logistics.UI.ResourceRequirementsPlanning
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class CustomListBoxDragDropBehaviour : ListBoxDragDropBehavior
Properties
| Improve this Doc View SourceViewModel
Gets or sets the view model
Declaration
public SchedulerViewModel ViewModel { get; set; }
Property Value
Type | Description |
---|---|
SchedulerViewModel |
Methods
| Improve this Doc View SourceCanDrop(DragDropState)
Returns if the dragged item is supposed to be dropped there.
Declaration
public override bool CanDrop(DragDropState state)
Parameters
Type | Name | Description |
---|---|---|
DragDropState | state |
Returns
Type | Description |
---|---|
System.Boolean |
CanStartDrag(DragDropState)
Declaration
public override bool CanStartDrag(DragDropState state)
Parameters
Type | Name | Description |
---|---|---|
DragDropState | state |
Returns
Type | Description |
---|---|
System.Boolean |
DragDropCompleted(DragDropState)
Contains all methods for performing when the drag and drop is completed
Declaration
public override void DragDropCompleted(DragDropState state)
Parameters
Type | Name | Description |
---|---|---|
DragDropState | state |
Remarks
This class ///
Drop(DragDropState)
Will be executed when the dragged item has been dropped It schedules the appoitnment and removes the shipment from the old appointment if necessary
Declaration
public override void Drop(DragDropState state)
Parameters
Type | Name | Description |
---|---|---|
DragDropState | state |