Describes a proposed appointment drag destination; cancellation prevents the feedback move or, for a drop notification, the commit.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
C#
public class AppointmentMovingEventArgs : CancelEventArgs
Inheritance: objectEventArgsCancelEventArgsAppointmentMovingEventArgs
Inherited Members
Constructors
Creates cancellable event data for a proposed appointment destination.
C#
public AppointmentMovingEventArgs(DateTime date, IEvent appointment, EventId resourceId, SchedulerCellElement cell, SchedulerVisualElement newOwner)
The proposed start date and time.
appointmentIEventThe appointment being dragged.
resourceIdEventIdThe identifier of the destination resource.
cellSchedulerCellElementThe destination scheduler cell.
newOwnerSchedulerVisualElementThe visual element that will own 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; }
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; }