SyntaxEditorMenuEventArgs Class
Provides arguments for SyntaxEditor menu request events.
public class SyntaxEditorMenuEventArgs : RoutedEventArgs
- Inheritance:
- object EventArgs 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 ContextMenu to display, if any.
public ContextMenu Menu { get; set; }
Property Value
- ContextMenu:
The ContextMenu to display, if any.