Class AppointmentDropEventArgs
Provides data for the AppointmentDrop event, which occurs when an appointment to be dropped into a time slot or resource.
Inheritance
Namespace: Syncfusion.Maui.Scheduler
Assembly: Syncfusion.Maui.Scheduler.dll
Syntax
public class AppointmentDropEventArgs : CancelEventArgs
Constructors
AppointmentDropEventArgs()
Declaration
public AppointmentDropEventArgs()
Properties
Appointment
Gets the appointment that is being dragged and dropped.
Declaration
public SchedulerAppointment Appointment { get; }
Property Value
Type |
---|
SchedulerAppointment |
Remarks
If an occurrence of a pattern appointment is being dropped, this property holds the details of the occurrence appointment. You can get the details of the pattern appointment from the occurrence appointment by using the GetPatternAppointment(SfScheduler, Object) method.
DropTime
Gets or sets the date and time at which the appointment is being dropped.
Declaration
public DateTime DropTime { get; set; }
Property Value
Type |
---|
System.DateTime |
SourceResource
Gets the original resource of the appointment that is being dropped.
Declaration
public SchedulerResource SourceResource { get; }
Property Value
Type |
---|
SchedulerResource |
Remarks
The DataItem property holds the data object associated with the scheduler when the scheduler resource was created from a custom data object using the Mapping property.
See Also
TargetResource
Gets the resource into which the appointment is being dropped.
Declaration
public SchedulerResource TargetResource { get; }
Property Value
Type |
---|
SchedulerResource |
Remarks
The DataItem property holds the data object associated with the scheduler when the scheduler resource was created from a custom data object using the Mapping property.