menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AppointmentResizingEventArgs - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class AppointmentResizingEventArgs

    Provides data for AppointmentResizing event.

    Inheritance
    System.Object
    AppointmentResizingEventArgs
    Namespace: Syncfusion.UI.Xaml.Scheduler
    Assembly: Syncfusion.Scheduler.WinUI.dll
    Syntax
    public class AppointmentResizingEventArgs : EventArgs

    Constructors

    AppointmentResizingEventArgs()

    Declaration
    public AppointmentResizingEventArgs()

    Properties

    Action

    Gets the current action being performed while resizing an appointment.

    Declaration
    public ResizeAction Action { get; }
    Property Value
    Type
    ResizeAction
    Remarks

    You can handle resizing event using CanContinueResize and CanCommit properties based on Action property in event argument.

    ActionComments
    StartingDenotes event occurred when user mouse over the appointment to resize an appointment (before showing resize cursor). You can cancel appointment resizing for an appointment by setting CanContinueResize property as false. Setting CanCommit property won’t have any effect when Action is Starting.
    Progressing Denotes event occurred when user resizing an appointment. You can control resizing of an appointment based on StartTime and EndTime and by setting CanContinueResize property as false. Setting CanCommit property won’t have any effect when Action is Progressing.
    CommittingDenotes event occurred when user ends the resizing by releasing pointer. After this event start time and end time of an appointment getting updated. You can set CanCommit property as false and handle updating Appointment StartTime and EndTime in application level. Setting CanContinueResize property won’t have any effect when Action is Committing.
    CancellingDenotes the event occurred before cancelling resize operation when user press Esc key when resizing operation in progress. Resizing operation by can be continued by setting CanContinue property as True. Otherwise, appointment gets reset to original state or update based resized time based on CanCommit property. Setting CanCommit property won’t have any effect when Action is Cancelling.

    Appointment

    Gets the appointment being resized.

    Declaration
    public ScheduleAppointment Appointment { get; }
    Property Value
    Type
    ScheduleAppointment
    Remarks

    When occurrence appointment of pattern appointment is resizing , it holds the occurrence appointment details. You can get the pattern appointment details from the occurrence appointment by using the GetPatternAppointment(SfScheduler, Object).

    CanCommit

    Gets or sets a value indicating whether to update underlying appointment when resizing operation is completed. You can set this property when Action is Cancelling and Committing.

    Declaration
    public bool CanCommit { get; set; }
    Property Value
    Type
    System.Boolean
    Remarks

    This property won’t have any effect for when Action is Starting, Progressing.

    CanContinueResize

    Gets or sets a value indicating whether resizing operation should be continued or cancelled. You can set this property when Action is Starting, Progressing, Cancelling.

    Declaration
    public bool CanContinueResize { get; set; }
    Property Value
    Type
    System.Boolean
    Remarks

    This property won’t have any effect for when Action is Committing.

    EndTime

    Gets the updated end time of appointment in resizing operation.

    Declaration
    public DateTime EndTime { get; }
    Property Value
    Type
    System.DateTime

    Resource

    Gets the resource of an appointment under which the appointment is located.

    Declaration
    public SchedulerResource Resource { get; }
    Property Value
    Type
    SchedulerResource
    Remarks

    Data property holds the data object associated with scheduler when scheduler resource created from custom data object using ResourceMapping.

    See Also
    ResourceCollection
    ResourceMapping

    StartTime

    Gets the updated start time of appointment in resizing operation.

    Declaration
    public DateTime StartTime { get; }
    Property Value
    Type
    System.DateTime
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved