Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.8 Assembly / C1.C1Schedule Namespace / Appointment Class / DragStartValue Property

In This Topic
    DragStartValue Property (Appointment)
    In This Topic
    For internal use only. The DragStartValue property can be used to keep DateTime value, where end-user started to drag appointment. It might be any time between app.Start and End values. If you set this field at the beginning of the drag and drop operation, later you can determine appointment.Start value as LastAcceptedStart.Add(newStart.Subtract(DragStartValue)), where newStart is DateTime value under the pointer. Appointment.EndEdit and CancelEdit methods reset this field to DateTime.MinValue.
    Syntax
    'Declaration
     
    Public Property DragStartValue As System.Date
    public System.DateTime DragStartValue {get; set;}
    See Also