Class ScheduleAppointmentCancelEventArgs
Provides data for the ItemChanging event.
Inheritance
Namespace: Syncfusion.Schedule
Assembly: Syncfusion.Schedule.Base.dll
Syntax
public class ScheduleAppointmentCancelEventArgs : CancelEventArgs
Constructors
ScheduleAppointmentCancelEventArgs(IScheduleAppointment, IScheduleAppointment, ItemAction)
Initializes a new instance of the ScheduleAppointmentCancelEventArgs class. The event arguments for a cancellable event raised prior to changes in an IScheduleAppointment object.
Declaration
public ScheduleAppointmentCancelEventArgs(IScheduleAppointment currentItem, IScheduleAppointment proposedItem, ItemAction action)
Parameters
Type | Name | Description |
---|---|---|
IScheduleAppointment | currentItem | Current value of the IScheduleAppointment object. |
IScheduleAppointment | proposedItem | Modified value of the IScheduleAppointment object. |
ItemAction | action | An ItemAction value that indicates the type of the change. |
ScheduleAppointmentCancelEventArgs(IScheduleAppointment, IScheduleAppointment, ItemAction, ItemDragHitContext)
Initializes a new instance of the ScheduleAppointmentCancelEventArgs class. The event arguments for a cancellable event raised prior to changes in an IScheduleAppointment object.
Declaration
public ScheduleAppointmentCancelEventArgs(IScheduleAppointment currentItem, IScheduleAppointment proposedItem, ItemAction action, ItemDragHitContext context)
Parameters
Type | Name | Description |
---|---|---|
IScheduleAppointment | currentItem | Current value of the IScheduleAppointment object. |
IScheduleAppointment | proposedItem | Modified value of the IScheduleAppointment object. |
ItemAction | action | An ItemAction value that indicates the type of the change. |
ItemDragHitContext | context | An ItemDragHitContext value that indicates the drag hit context. |
Properties
Action
Gets or sets type of action that is being taken such as a Drag or an Edit.
Declaration
public ItemAction Action { get; set; }
Property Value
Type |
---|
ItemAction |
CurrentItem
Gets or sets IScheduleAppointment prior to the change.
Declaration
public IScheduleAppointment CurrentItem { get; set; }
Property Value
Type |
---|
IScheduleAppointment |
ItemDragHitContext
Gets or sets drag hit context in a Month or Week View
Declaration
public ItemDragHitContext ItemDragHitContext { get; set; }
Property Value
Type |
---|
ItemDragHitContext |
ProposedItem
Gets or sets IScheduleAppointment after the change.
Declaration
public IScheduleAppointment ProposedItem { get; set; }
Property Value
Type |
---|
IScheduleAppointment |
Methods
ToString()
An Overridden method that returns the string representation of ScheduleAppointmentCancelEventArgs object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string holding the event args object. |