'Declaration Public Event AppointmentResized As AppointmentResizedHandler
public event AppointmentResizedHandler AppointmentResized
The event handler receives an argument of type AppointmentResizedEventArgs containing data related to this event. The following AppointmentResizedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Appointment | Returns the Appointment on which the resize operation has been performed. |
EnterEditMode | Returns or sets whether an edit mode session should begin on the appointment immediately following the firing of the event. |
ResizeType | Returns whether the StartDateTime or EndDateTime of the associated appointment(s) has been modified by the resize operation. |
The AppointmentResized event notifies a listener than the user has completed an appointment resizing operation, and that the operation was not canceled. The EnterEditMode property can be used to determine whether the resized appointment automatically enters edit mode when the resize operation has been completed.
Imports Infragistics.Win Imports Infragistics.Win.UltraWinSchedule Imports System.Diagnostics AddHandler Me.dayView.AppointmentResized, AddressOf OnAppointmentsResized Private Sub OnAppointmentsResized(ByVal sender As Object, ByVal e As AppointmentResizedEventArgs) ' MS Outlook enters edit mode on an appointment after a resize ' operation is completed; set the 'EnterEditMode' property of the ' event arguments to true to emulate this behavior. e.EnterEditMode = True End Sub
using Infragistics.Win; using Infragistics.Win.UltraWinSchedule; using System.Diagnostics; this.dayView.AppointmentResized += new AppointmentResizedHandler(OnAppointmentResized); private void OnAppointmentResized(object sender, AppointmentResizedEventArgs e) { // MS Outlook enters edit mode on an appointment after a resize // operation is completed; set the 'EnterEditMode' property of the // event arguments to true to emulate this behavior. e.EnterEditMode = true; }
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