In This Article

SyntaxEditorMenuEventArgs Class

Provides arguments for SyntaxEditor menu request events.

public class SyntaxEditorMenuEventArgs : RoutedEventArgs
Inheritance:
object EventArgs RoutedEventArgs object

Properties

HitTestResult

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

Kind

A SyntaxEditorMenuKind indicating the menu kind.

public SyntaxEditorMenuKind Kind { get; }

Property Value

SyntaxEditorMenuKind

Menu

The ContextMenu to display, if any.

public ContextMenu? Menu { get; set; }

Property Value

ContextMenu

Inherited Members

Extension Methods