Class SchedulerContextMenuOpeningEventArgs
Provides data for a SchedulerContextMenuOpening event.
Inheritance
System.Object
SchedulerContextMenuOpeningEventArgs
Namespace: Syncfusion.UI.Xaml.Scheduler
Assembly: Syncfusion.SfScheduler.WPF.dll
Syntax
public class SchedulerContextMenuOpeningEventArgs : CancelEventArgs
Constructors
SchedulerContextMenuOpeningEventArgs(SchedulerContextMenuInfo, ContextMenu, SchedulerContextMenuType)
Initializes a new instance of the SchedulerContextMenuOpeningEventArgs class.
Declaration
public SchedulerContextMenuOpeningEventArgs(SchedulerContextMenuInfo contextMenuInfo, ContextMenu contextMenu, SchedulerContextMenuType schedulerContextMenuType)
Parameters
Type | Name | Description |
---|---|---|
SchedulerContextMenuInfo | contextMenuInfo | Contains the information about the content menu. |
System.Windows.Controls.ContextMenu | contextMenu | Contains the context menu for the SfScheduler. |
SchedulerContextMenuType | schedulerContextMenuType | The corresponding type of the context menu. |
Properties
ContextMenu
Gets or sets the context menu getting opened.
Declaration
public ContextMenu ContextMenu { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Controls.ContextMenu | A System.Windows.Controls.ContextMenu that represents shortcut menu which is being opened. |
See Also
MenuInfo
Gets the instance of SchedulerContextMenuInfo that contains information about date time, appointment of the element opens the context menu.
Declaration
public SchedulerContextMenuInfo MenuInfo { get; }
Property Value
Type |
---|
SchedulerContextMenuInfo |
Remarks
ApplicationContextMenu and CellContextMenu received this information as DataContext.
MenuType
Gets the element type for which the context menu opens.
Declaration
public SchedulerContextMenuType MenuType { get; }
Property Value
Type |
---|
SchedulerContextMenuType |