dbicDayView Send comments on this topic.
BeforeAppointmentDrag Event
See Also 
dbicDayView Assembly > Dbi.WinControl.DayView Namespace > dbiDayView Class : BeforeAppointmentDrag Event

Occurs just before an existing appointment is dragged.

Syntax

Visual Basic (Declaration) 
Public Event BeforeAppointmentDrag As dbiDayView.EventBeforeAppointmentDragHandler
C# 
public event dbiDayView.EventBeforeAppointmentDragHandler BeforeAppointmentDrag

Event Data

The event handler receives an argument of type BeforeAppointmentDragEventArgs containing data related to this event. The following BeforeAppointmentDragEventArgs properties provide information specific to this event.

PropertyDescription
Appointment The dbiAppointmentItem which is being dragged out of the control.
Index The zero-based index of the appointment which is being dragged out of the control.
IsDragging Indicates if the appointment will be dragged outside the control.
PrepareDrag 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.

Requirements

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

See Also