TXTextControl.ServerVisualization.TextContextMenuEventArgs Class

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.

Introduced: 21.0.

Syntax

[C#]
public class TextContextMenuEventArgs: EventArgs
[Visual Basic]
Public Class TextContextMenuEventArgs
  Inherits EventArgs

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.

See Also