| Visual Basic (Declaration) | |
|---|---|
Public Property PrepareDrag As Boolean | |
| C# | |
|---|---|
public bool PrepareDrag {get; set;} | |
Property Value
BooleanThe 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.