This topic explains how to manage the context menu of the xamRichTextEditor ™.
The following topics are prerequisites to understanding this topic:
This topic contains the following sections:
The xamRichTextEditor control supports a context menu allowing users to perform clipboard operations and create tables. You can customize the content of the context menu or even hide it, which is discussed later in this topic.
The following screen shot shows an opened xamRichTextEditor’s context menu:
The xamRichTexEditor exposes a cancelable event called ContextMenuOpening used to prevent the context menu from showing or to customize the content of the context menu. In either case, you must hook an event handler to the ContextMenuOpening
event and obtain the ContextMenuOpeningEventArgs argument provided to the event handler. You can also attach an event handler to the ContextMenuClosing event to be notified when the context menu closes.
The following table maps the desired behavior to its respective property settings.
The following topics provide additional information related to this topic.