dbicDayView Send comments on this topic.
PrepareDrag Property
See Also 
dbicDayView Assembly > Dbi.WinControl.DayView Namespace > BeforeAppointmentDragEventArgs Class : PrepareDrag Property

Indicates if this is the first time the event is fired. This is used to prepare the control for a dragout operation. See the remarks for more details.

Syntax

Visual Basic (Declaration) 
Public Property PrepareDrag As Boolean
C# 
public bool PrepareDrag {get; set;}

Property Value

Boolean

Remarks

The BeforeAppointmentDrag event is fired twice by the control, once to allow the code to prepare the control for dragging out (e.PrepareDrag = True) and once when the control has been prepared to go into dragging out mode (e.PrepareDrag = False). The first time the BeforeAppointmentDrag event fires the control sets the e.PrepareDrag property to true, to allow the developer to set the control and form for a drag out operation. To set the control into drag mode set the e.IsDragging property in the BeforeAppointmentDrag event to True.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also