TXTextControl.TextContextMenuEventArgs.TextContextMenu Property

Gets or sets the context menu, which will be shown. The items depend on the document location where the mouse click occurs. The menu can be altered, extended or completely replaced. When this property is set to null, the TextControl uses system menu items. To completely suppress a context menu, the Cancel Property must be set the true.

Syntax

[C#]
public System.Windows.Forms.ContextMenuStrip TextContextMenu { get; set; }
[Visual Basic]
Public Property TextContextMenu() As System.Windows.Forms.ContextMenuStrip

See Also