In This Article

SyntaxEditorMenuEventArgs Class

Provides arguments for SyntaxEditor menu request events.

public class SyntaxEditorMenuEventArgs : RoutedEventArgs
Inheritance:
System.Object System.EventArgs System.Windows.RoutedEventArgs 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 System.Windows.Controls.ContextMenu to display, if any.

public ContextMenu Menu { get; set; }

Property Value

System.Windows.Controls.ContextMenu:

The System.Windows.Controls.ContextMenu to display, if any.

Inherited Members

  • System.EventArgs.Empty
  • System.Object.ToString()
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object, System.Object)
  • System.Object.ReferenceEquals(System.Object, System.Object)
  • System.Object.GetHashCode()
  • System.Object.GetType()
  • System.Object.MemberwiseClone()