Class SchedulerContextFlyoutInfo
Represents the class that stores the information about the appointment, datetime and scheduler associated to AppointmentContextFlyout and CellContextFlyout.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Scheduler
Assembly: Syncfusion.Scheduler.WinUI.dll
Syntax
public class SchedulerContextFlyoutInfo : Object, IDisposable
Constructors
SchedulerContextFlyoutInfo(SfScheduler, ScheduleAppointment, Nullable<DateTime>, SchedulerResource, Boolean)
Initializes a new instance of the SchedulerContextFlyoutInfo class.
Declaration
public SchedulerContextFlyoutInfo(SfScheduler scheduler, ScheduleAppointment scheduleAppointment, Nullable<DateTime> dateTime, SchedulerResource resource, bool isAllDay = false)
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. |
System.Boolean | isAllDay | Indicates all day panel. |
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 Nullable<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 SchedulerContextFlyoutInfo class.
Declaration
public void Dispose()
Dispose(Boolean)
Disposes all the resources used by the SchedulerContextFlyoutInfo 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). |