In This Article

SyntaxEditorMenuEventArgs Class

Provides arguments for SyntaxEditor menu request events.

public class SyntaxEditorMenuEventArgs : EventArgs
Inheritance:
object EventArgs object

Properties

HitTestResult

Gets the IHitTestResult that contains hit test results for the pointer location, if the menu was requested via the pointer.

public IHitTestResult HitTestResult { get; }

Property Value

IHitTestResult:

The IHitTestResult that contains hit test results for the pointer location, if the menu was requested via the pointer.

Kind

Gets a SyntaxEditorMenuKind indicating the menu kind.

public SyntaxEditorMenuKind Kind { get; }

Property Value

SyntaxEditorMenuKind:

A SyntaxEditorMenuKind indicating the menu kind.

Menu

Gets or sets the ContextMenuStrip to display, if any.

public ContextMenuStrip Menu { get; set; }

Property Value

ContextMenuStrip:

The ContextMenuStrip to display, if any.

Inherited Members