New to Telerik UI for WinForms? Start a free 30-day trial

Describes the destination of appointment drag feedback or a committed drop. During AppointmentMoved, the appointment has not yet been committed; AppointmentDropped reports the completed drop.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class AppointmentMovedEventArgs : EventArgs

Inheritance: objectEventArgsAppointmentMovedEventArgs

Inherited Members EventArgs.Empty

Constructors

Creates event data for an appointment's drag destination.

C#
public AppointmentMovedEventArgs(DateTime date, IEvent appointment, EventId resourceId, SchedulerCellElement cell, SchedulerVisualElement newOwner)
Parameters:dateDateTime

The destination start date and time.

appointmentIEvent

The appointment associated with the drag.

resourceIdEventId

The identifier of the destination resource.

cellSchedulerCellElement

The destination scheduler cell.

newOwnerSchedulerVisualElement

The visual element that owns the drag feedback.

Properties

Gets the moved appointment.

C#
public IEvent Appointment { get; }

Gets the cell that is hovered by the mouse pointer.

C#
public SchedulerCellElement Cell { get; }

Gest the new date.

C#
public DateTime NewDate { get; }

Gets the container that owns the dragged feedback element.

C#
public SchedulerVisualElement NewOwner { get; }

Gets the id of the target resource.

C#
public EventId NewResourceId { get; }