The TextContextMenuEventArgs class provides data for the ServerVisualization.TextViewGenerator.TextContextMenuOpening event. It provides an array of menu items for a certain location in a document. The ContextMenuLocation property informs for which part of the document the items have been generated.

Syntax

public class TextContextMenuEventArgs: EventArgs
Public Class TextContextMenuEventArgs
  Inherits EventArgs

Introduced: X11.

Properties

Property Description
ContextMenuLocation Gets the location in the document for which the menu items have been generated.
Items Gets an array of ServerVisualization.MenuItem objects.
Location Gets the location, in pixels, where the context menu should be displayed.
RightToLeft Gets a value indicating whether the context menu must be shown from right to left.