Version

ResizeType Property (AppointmentResizedEventArgs)

Returns whether the StartDateTime or EndDateTime of the associated appointment(s) has been modified by the resize operation.
Syntax
'Declaration
 
Public ReadOnly Property ResizeType As AppointmentResizeType
public AppointmentResizeType ResizeType {get;}
Example
The following code sample demonstrates how to use the AppointmentResized event to receive a notification after an Appointment has been resized, and how to automatically enter edit mode on the Appointment:

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 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;
}
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