menu

WPF

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

    Show / Hide Table of Contents

    Class AppointmentEditorOpeningEventArgs

    Provides data for a AppointmentEditorOpening event.

    Inheritance
    System.Object
    AppointmentEditorOpeningEventArgs
    Namespace: Syncfusion.UI.Xaml.Scheduler
    Assembly: Syncfusion.SfScheduler.WPF.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 Description
    ScheduleAppointment
    Remarks

    When appointment editor opening on the occurrence appointment of pattern appointment when recurrence edit mode as occurrence , 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 SchedulerAppointmentEditorWindow for the ScheduleAppointment fields.

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

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

    Examples
    • C#

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

    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 Description
    System.DateTime

    RecurringAppointmentEditMode

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

    Declaration
    public RecurringAppointmentEditMode? RecurringAppointmentEditMode { get; }
    Property Value
    Type Description
    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 Description
    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 - 2023 Syncfusion Inc. All Rights Reserved