New to Telerik UI for WinForms? Start a free 30-day trial

Represents the event arguments for the ContextMenuOpening event of RadScheduler

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class SchedulerContextMenuOpeningEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsSchedulerContextMenuOpeningEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the SchedulerContextMenuOpeningEventArgs class.

C#
public SchedulerContextMenuOpeningEventArgs(RadElement element, RadContextMenu contextMenu)
Parameters:elementRadElement

The Scheduler element associated with the menu, if any; null is passed for menus opened from appointment search results.

contextMenuRadContextMenu

The context menu that will be opened.

Properties

Gets the Scheduler element associated with the menu, or null when no element is associated, as in appointment search results.

C#
public RadElement Element { get; }

Gets or sets the context menu that is being opened.

C#
public RadContextMenu Menu { get; set; }