Syncfusion.Shared.Base


ShowContextMenu Event (ScrollControl)

The ShowContextMenu event occurs when the user right-clicks inside the control.
Syntax
'Declaration
 
<CategoryAttribute("Scrolling")>
<DescriptionAttribute("The ShowContextMenu event occurs when the user right-clicks inside the control.")>
Public Event ShowContextMenu As ShowContextMenuEventHandler
'Usage
 
Dim instance As ScrollControl
Dim handler As ShowContextMenuEventHandler
 
AddHandler instance.ShowContextMenu, handler
[Category("Scrolling")]
[Description("The ShowContextMenu event occurs when the user right-clicks inside the control.")]
public event ShowContextMenuEventHandler ShowContextMenu
Event Data

The event handler receives an argument of type ShowContextMenuEventArgs containing data related to this event. The following ShowContextMenuEventArgs properties provide information specific to this event.

PropertyDescription
(Inherited from System.ComponentModel.CancelEventArgs)
Returns the mouse location in screen coordinates.  
Remarks

You can cancel showing a content menu when you assign True to System.ComponentModel.CancelEventArgs.Cancel.

AssemblyVersion

Syncfusion.Shared.Base: 17.3460.0.14

See Also