[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Collapse]Rich Text Editor
   [Expand]Product Information
    Product Class Structure
    Supported Formats
   [Expand]Getting Started
   [Expand]RichEditControl Document
   [Expand]Fields
    Text Formatting
    Import and Export
   [Expand]Page Layout
    Printing
    Spell Checking
    AutoCorrect Feature
    Mail Merge
    Restrictions and Protection
   [Collapse]Visual Elements
     Command UI
     Views
     Rulers
     Reviewing Pane
     Pop-up Menus
    [Expand]Dialogs
     End User Restrictions
    Services
    Events
    Commands
    Keyboard Shortcuts
    HTML Tag Support
   [Expand]Examples
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Pop-up Menus

The Rich Text Editor has several types of context (pop-up) menus which are invoked when the user clicks different visual objects. The RichEditControl provides the RichEditControl.PopupMenuShowing event which allows you to customize context menus by adding or removing items.

Expanded Context Menus Overview

Menu Type Appearance Description
RichEditMenuType.Comment Specifies a context menu which can be invoked by right-clicking a comment.
RichEditMenuType.Field Specifies a context menu which can be invoked by right-clicking a field.
RichEditMenuType.FloatingObject Specifies a context menu which can be invoked by right-clicking a floating object - a picture or text box.
RichEditMenuType.Footer Specifies a context menu which can be invoked by right-clicking a footer.
RichEditMenuType.Header Specifies a context menu which can be invoked by right-clicking a header.
RichEditMenuType.Hyperlink Specifies a context menu which can be invoked by right-clicking a hyperlink.
RichEditMenuType.InlinePicture Specifies a context menu which can be invoked by right-clicking an inline picture.
RichEditMenuType.Text Specifies a context menu which can be invoked by right-clicking a text in the document.
RichEditMenuType.TableCell Specifies a context menu which can be invoked by right-clicking a table cell.
RichEditMenuType.TextBox Specifies a context menu which can be invoked by right-clicking inside a text box.

Expanded Customize Context Menus in Code

Handle the RichEditControl.PopupMenuShowing event to customize context menus at runtime. The RichEditMenuType enumeration lists all available context menu types. Refer to the How to: Customize and Hide the Popup Menu topic for details.

Expanded See Also

Is this topic helpful?​​​​​​​