Version

AfterAppointmentResized Event

Event fired after an appointment is resized.
Syntax
'Declaration
 
Public Event AfterAppointmentResized As AfterAppointmentResizedEventHandler
public event AfterAppointmentResizedEventHandler AfterAppointmentResized
Event Data

The event handler receives an argument of type AppointmentEventArgs containing data related to this event. The following AppointmentEventArgs properties provide information specific to this event.

PropertyDescription
Appointment Appointment object associated with the event. This property is read-only.
Remarks

A reference to the Appointment that was resized is passed in the event args.

Example
The following code demonstrates how to access the information passed in the event arguments of the AfterAppointmentResized event.

For an overview of how to handle events in Visual Basic or Visual C#, see Event Handlers in Visual Basic and Visual C#. For specific information and code examples illustrating how to consume events in your application, see Consuming Events in the .NET Framework Developer's Guide.

Imports System.Diagnostics
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule

	Private Sub UltraDayView1_AfterAppointmentResized(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinSchedule.AppointmentEventArgs) Handles UltraDayView1.AfterAppointmentResized

		Debug.WriteLine("Appointment '" + e.Appointment.Subject + "' has been resized.  Its new Start time and End time are: " + e.Appointment.StartDateTime.ToLongDateString() + " - " + e.Appointment.EndDateTime.ToLongDateString())

	End Sub
using System.Diagnostics;
using Infragistics.Win;
using Infragistics.Win.UltraWinSchedule;

		private void ultraDayView1_AfterAppointmentResized(object sender, Infragistics.Win.UltraWinSchedule.AppointmentEventArgs e)
		{

			Debug.WriteLine("Appointment '" + e.Appointment.Subject + "' has been resized.  Its new Start time and End time are: " + e.Appointment.StartDateTime.ToLongDateString() + " - " + e.Appointment.EndDateTime.ToLongDateString());

		}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also