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

Supplies cancellation and proposed interval data while an appointment's start or duration is being resized.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class AppointmentResizingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsAppointmentResizingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Creates a cancellable resize notification with a proposed start date and duration that handlers can adjust.

C#
public AppointmentResizingEventArgs(IEvent appointment, DateTime newStartDate, TimeSpan newDuration)
Parameters:appointmentIEvent

The appointment being resized.

newStartDateDateTime

The proposed start date and time.

newDurationTimeSpan

The proposed duration.

Creates the initial cancellable resize notification before a proposed interval has been calculated.

C#
public AppointmentResizingEventArgs(IEvent appointment)
Parameters:appointmentIEvent

The appointment being resized.

Properties

Gets the resized appointment.

C#
public IEvent Appointment { get; }

Gets or sets the proposed duration applied when the resize is accepted.

C#
public TimeSpan NewDuration { get; set; }

Gets or sets the proposed start date and time applied when the resize is accepted.

C#
public DateTime NewStartDate { get; set; }