PopupMenuShowingEventArgs.MenuType Property
Indicates a document element for which the context menu is invoked.
Namespace: DevExpress.Xpf.RichEdit
Assembly: DevExpress.Xpf.RichEdit.v26.1.dll
NuGet Package: DevExpress.Wpf.RichEdit
Declaration
Property Value
| Type | Description |
|---|---|
| RichEditMenuType | An enumeration member that specifies the menu type. |
Available values:
| Name | Description |
|---|---|
| Text | Specifies a context menu invoked for text. |
| Hyperlink | Specifies a context menu invoked for a hyperlink. |
| Field | Specifies a context menu invoked for a field. |
| TableCell | Specifies a context menu invoked for a table cell. |
| InlinePicture | Specifies a context menu invoked for an inline picture. |
| FloatingObject | Specifies a context menu invoked for a floating object - a picture or a text box. |
| TextBox | Specifies a context menu invoked for a text box. |
| Comment | Specifies a context menu invoked for a comment. |
| Header | Specifies a context menu invoked for a header. |
| Footer | Specifies a context menu invoked for a footer. |
| Footnote | Specifies a context menu invoked for a footnote. |
| Endnote | Specifies a context menu invoked for an endnote. |
Remarks
If a context menu is invoked for any document element except text, the MenuType property returns the following flag combination: RichEditMenuType.Text | RichEditMenuType enumeration value corresponding to the target element.