TXTextControl.WPF.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 WPF.TextControl uses system menu items. To completely suppress a context menu, the Cancel Property must be set the true.


public System.Windows.Controls.ContextMenu TextContextMenu { get; set; }
[Visual Basic]
Public Property TextContextMenu() As System.Windows.Controls.ContextMenu

See Also