Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  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]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
   [Expand]Getting Started
   [Expand]RichEditControl Document
   [Expand]Fields
    Text Formatting
    Import and Export
   [Expand]Page Layout
    Printing
    Spell Checking
    AutoCorrect
    Mail Merge
    Restrictions and Protection
    Syntax Highlighting
    Traversing the Document
   [Collapse]Visual Elements
    [Expand]Rich Edit Control
    [Expand]Command UI
    [Expand]Dialogs
     Pop-up Menus
    [Expand]Views
    Services
    Events
    Commands
   [Expand]Member Tables
    Keyboard Shortcuts
    HTML Tag Interpretation
   [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]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]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

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 Customizing 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

How would you rate this topic?​​​​​​​