menu

WPF

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

    Show / Hide Table of Contents

    Class SchedulerContextMenuInfo

    Represents the class that stores the information about the appointment, date time and scheduler associated to AppointmentContextMenu and CellContextMenu.

    Inheritance
    System.Object
    SchedulerContextMenuInfo
    Implements
    System.IDisposable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Scheduler
    Assembly: Syncfusion.SfScheduler.WPF.dll
    Syntax
    public class SchedulerContextMenuInfo : IDisposable

    Constructors

    SchedulerContextMenuInfo(SfScheduler, ScheduleAppointment, Nullable<DateTime>, SchedulerResource)

    Initializes a new instance of the SchedulerContextMenuInfo class.

    Declaration
    public SchedulerContextMenuInfo(SfScheduler scheduler, ScheduleAppointment scheduleAppointment, DateTime? dateTime, SchedulerResource resource)
    Parameters
    Type Name Description
    SfScheduler scheduler

    The scheduler.

    ScheduleAppointment scheduleAppointment

    Contains the information about appointments.

    System.Nullable<System.DateTime> dateTime

    Contains the information about DateTime.

    SchedulerResource resource

    The resource.

    Properties

    Appointment

    Gets the ScheduleAppointment associated with AppointmentControl when the context menu opens over appointment view.

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

    DateTime value will be null when opening context menu on time slot and month cell. When opening context menu of the occurrence appointment, it holds the occurrence appointment details. You can get the pattern appointment details from the occurrence appointment by using the GetPatternAppointment(SfScheduler, Object).

    DateTime

    Gets the date time of selected appointment or time slot or month cell where at the context menu is showing.

    Declaration
    public DateTime? DateTime { get; }
    Property Value
    Type
    System.Nullable<System.DateTime>

    Resource

    Gets the SchedulerResource of selected appointment or time slot where at the context menu is showing.

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

    Scheduler

    Gets or sets the instance of SfScheduler.

    Declaration
    public SfScheduler Scheduler { get; set; }
    Property Value
    Type
    SfScheduler

    Methods

    Dispose()

    Disposes all the resources used by the SchedulerContextMenuInfo class.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Disposes all the resources used by the SchedulerContextMenuInfo class.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Indicates whether the call is from Dispose method or from a System.GC.SuppressFinalize(System.Object).

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved