ComponentOne TreeView for WinForms
BeforeContextMenuShow Event

C1.Win.TreeView Namespace > C1TreeView Class : BeforeContextMenuShow Event
Occurs before the context menu is shown.
Syntax
'Declaration
 
<C1DescriptionAttribute("コンテキストメニューが表示される前に発生します。")>
<C1CategoryAttribute("動作")>
Public Event BeforeContextMenuShow As EventHandler(Of C1TreeViewCancelEventArgs)
[C1Description("コンテキストメニューが表示される前に発生します。")]
[C1Category("動作")]
public event EventHandler<C1TreeViewCancelEventArgs> BeforeContextMenuShow
Event Data

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

PropertyDescription
(Inherited from System.ComponentModel.CancelEventArgs)
Gets the tree node that has been checked, expanded, collapsed, or selected.  
Remarks
Occurs only for ContextMenuStrip.
See Also