Search Results for

    Show / Hide Table of Contents

    Class CustomScheduleViewDragAndDropBehavior

    Represents the custom schedule view drag and drop behavior

    Inheritance
    System.Object
    CustomScheduleViewDragAndDropBehavior
    Namespace: Simplic.PlugIn.Logistics.UI.ResourceRequirementsPlanning
    Assembly: Simplic.PlugIn.Logistics.dll
    Syntax
    public class CustomScheduleViewDragAndDropBehavior : Telerik.Windows.Controls.ScheduleViewDragDropBehavior

    Constructors

    | Improve this Doc View Source

    CustomScheduleViewDragAndDropBehavior()

    Declaration
    public CustomScheduleViewDragAndDropBehavior()

    Properties

    | Improve this Doc View Source

    Client

    Gets or sets the client

    Declaration
    public ResourceRequirementPlanningClient Client { get; set; }
    Property Value
    Type Description
    ResourceRequirementPlanningClient
    | Improve this Doc View Source

    ViewModel

    Gets or sets the view model

    Declaration
    public SchedulerViewModel ViewModel { get; set; }
    Property Value
    Type Description
    SchedulerViewModel

    Methods

    | Improve this Doc View Source

    CanDrop(Telerik.Windows.Controls.DragDropState)

    Declaration
    public override bool CanDrop(Telerik.Windows.Controls.DragDropState state)
    Parameters
    Type Name Description
    Telerik.Windows.Controls.DragDropState state
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    CanResize(Telerik.Windows.Controls.DragDropState)

    Can only be resized if the appointment viewmodel is not locked

    Declaration
    public override bool CanResize(Telerik.Windows.Controls.DragDropState state)
    Parameters
    Type Name Description
    Telerik.Windows.Controls.DragDropState state
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    CanStartDrag(Telerik.Windows.Controls.DragDropState)

    Return if the item can be dragged. Returns true if the item is not locked otherwise it will return false;

    Declaration
    public override bool CanStartDrag(Telerik.Windows.Controls.DragDropState state)
    Parameters
    Type Name Description
    Telerik.Windows.Controls.DragDropState state
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    ConvertDraggedData(Object)

    Converts the dragged data to a list of appointment view model

    Declaration
    public override IEnumerable<IOccurrence> ConvertDraggedData(object data)
    Parameters
    Type Name Description
    System.Object data
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IOccurrence>
    | Improve this Doc View Source

    DragDropCompleted(Telerik.Windows.Controls.DragDropState)

    This method will be called when the drag and drop is completed

    Declaration
    public override void DragDropCompleted(Telerik.Windows.Controls.DragDropState state)
    Parameters
    Type Name Description
    Telerik.Windows.Controls.DragDropState state
    Remarks

    It removes appointment when the appointment has an empty resource guid

    and removes appointments that are of the type tourtype and have zero shipments

    | Improve this Doc View Source

    Drop(Telerik.Windows.Controls.DragDropState)

    Drops the appointment/shipment and removes the shipment from the old appointment

    Declaration
    public override void Drop(Telerik.Windows.Controls.DragDropState state)
    Parameters
    Type Name Description
    Telerik.Windows.Controls.DragDropState state
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx