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