menu

WinUI

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

    Show / Hide Table of Contents

    Class AppointmentEditorOpeningEventArgs

    Provides data for a AppointmentEditorOpening event.

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

    Constructors

    AppointmentEditorOpeningEventArgs()

    Declaration
    public AppointmentEditorOpeningEventArgs()

    Properties

    Appointment

    Gets the details of appointment that is being updated. The value will be null when event trigged to create new appointment.

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

    When appointment editor opening on the occurrence appointment of pattern appointment when recurrence edit mode as occurrenceOccurrence , it holds the occurrence appointment details. You can get the pattern appointment details from the occurrence appointment by using the GetPatternAppointment(SfScheduler, Object).

    AppointmentEditorOptions

    Gets or sets an AppointmentEditorOptions that can be treated as a bit field. It is a set of flags that determines the visibility of editors in the SchedulerAppointmentEditorView for the ScheduleAppointment fields.

    Declaration
    public AppointmentEditorOptions AppointmentEditorOptions { get; set; }
    Property Value
    Type
    AppointmentEditorOptions
    Remarks

    The default value is All If the AppointmentEditorOptions value is All, it will display all the editors. If the AppointmentEditorOptions value is Recurrence it will display basic editors such as subject, location, start and end date along with Recurrence editor. If the AppointmentEditorOptions value is AppointmentEditorOptions.All | ~AppointmentEditorOptions.Recurrence , only Recurrence editor alone will not be displayed. If the AppointmentEditorOptions value is AppointmentEditorOptions.All | (~AppointmentEditorOptions.Recurrence amp ~AppointmentEditorOptions.Resource) , only Recurrence and resource editor will not be displayed.

    Examples

    Below settings hides Recurrence and Resource editors from the appointment editor window.

    # [C#](#tab/tabid-1)
    this.Schedule.AppointmentEditorOpening += OnScheduleAppointmentEditorOpening;
    private void OnScheduleAppointmentEditorOpening(object sender, AppointmentEditorOpeningEventArgs e)
    {
    e.AppointmentEditorOptions = AppointmentEditorOptions.All | (~AppointmentEditorOptions.Reminder & ~AppointmentEditorOptions.Resource);
    }
    See Also
    AppointmentEditFlag

    DateTime

    Gets the date time of time slot or month cell where used double clicked the schedule.

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

    RecurringAppointmentEditMode

    Gets the delete mode for recurring appointments selected in the Recurrence appointment Editing Option dialog.

    Declaration
    public Nullable<RecurringAppointmentEditMode> RecurringAppointmentEditMode { get; }
    Property Value
    Type
    System.Nullable<RecurringAppointmentEditMode>
    Remarks

    This property specifies whether deletes to a recurring appointment series or occurrence of recurring appointment.

    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
    SchedulerResource
    ResourceMapping
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved