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

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 CancelEventArgs.CancelEventArgs.Empty

Constructors

Creates cancellable event data for a proposed appointment destination.

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

The proposed start date and time.

appointmentIEvent

The appointment being dragged.

resourceIdEventId

The identifier of the destination resource.

cellSchedulerCellElement

The destination scheduler cell.

newOwnerSchedulerVisualElement

The 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 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; }