New to Telerik UI for WinFormsStart a free 30-day trial

IContextMenu

Interface

Definition

Namespace:Telerik.WinForms.Documents.UI.Extensibility

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public interface IContextMenu

Derived Classes: ContextMenu

Methods

Hides the menu.

C#
void Hide()

Shows the context menu at specified location, relative to passed RadRichTextBox, with list of suggestions for incorrect word

C#
void Show(Point location, RadRichTextBox radRichTextBox, WordInfo incorrectWordInfo)
Parameters:locationPoint

The location to show at.

radRichTextBoxRadRichTextBox

RadRichTextBox to attach to.

incorrectWordInfoWordInfo

The word info to show suggestions for.

Shows the context menu at specified location, relative to passed RadRichTextBox.

C#
void Show(Point location, RadRichTextBox radRichTextBox)
Parameters:locationPoint

The location to show at.

radRichTextBoxRadRichTextBox

RadRichTextBox to attach to.

Events

Occurs when context menu is closed.

C#
event EventHandler Closed

Occurs when context menu is opened.

C#
event EventHandler<ContextMenuPlacementEventArgs> Opened