PopupMenuShowingEventArgs.MenuType Property
Gets a visual element for which the popup menu is invoked.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.XtraRichEdit.v22.2.dll
NuGet Package: DevExpress.Win.RichEdit
Declaration
Property Value
Type | Description |
---|---|
RichEditMenuType | A RichEditMenuType enumeration member specifying a visual element to which the context menu is invoked. |
Available values:
Name | Description |
---|---|
Text | Specifies a context menu invoked for a 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 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 the context menu is invoked to any document element except text, the MenuType property returns two bit flags: RichEditMenuType.Text | the RichEditMenuType enumeration value corresponding to the target visual element.