PopupMenuShowingEventArgs.MenuType Property
Gets a visual element for which the popup menu is invoked.
Namespace: DevExpress.Xpf.RichEdit
Assembly: DevExpress.Xpf.RichEdit.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
RichEditMenuType | A RichEditMenuType enumeration member indicating the type of the invoked menu. |
Available values:
Name | Description |
---|---|
Text | Specifies a context menu which can be invoked by right-clicking a text in the document. |
Hyperlink | Specifies a context menu which can be invoked by right-clicking a hyperlink. |
Field | Specifies a context menu which can be invoked by right-clicking a field. |
TableCell | Specifies a context menu which can be invoked by right-clicking a table cell. |
InlinePicture | Specifies a context menu which can be invoked by right-clicking an inline picture. |
FloatingObject | Specifies a context menu which can be invoked by right-clicking a floating object - a picture or a text box. |
TextBox | Specifies a context menu which can be invoked by right-clicking inside a text box. |
Comment | Specifies a context menu which can be invoked by right-clicking a comment. |
Header | Specifies a context menu which can be invoked by right-clicking a header. |
Footer | Specifies a context menu which can be invoked by right-clicking a footer. |
Remarks
If the context menu is invoked to any document element except text, the MenuType property returns the following flag combination: RichEditMenuType.Text | the RichEditMenuType enumeration value corresponding to the target visual element.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MenuType property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.