Back to Devexpress

RichEditHoverMenu Class

wpf-devexpress-dot-xpf-dot-richedit-0dec52a1.md

latest2.9 KB
Original Source

RichEditHoverMenu Class

Represents a tool bar displayed when the mouse cursor hovers over a selection.

Namespace : DevExpress.Xpf.RichEdit

Assembly : DevExpress.Xpf.RichEdit.v25.2.dll

NuGet Package : DevExpress.Wpf.RichEdit

Declaration

csharp
public class RichEditHoverMenu :
    Bar,
    IDXPopupMenu<RichEditCommandId>,
    IDXMenuItemBase<RichEditCommandId>
vb
Public Class RichEditHoverMenu
    Inherits Bar
    Implements IDXPopupMenu(Of RichEditCommandId),
               IDXMenuItemBase(Of RichEditCommandId)

The following members return RichEditHoverMenu objects:

Remarks

RichEditHoverMenu is a type of context menu that is automatically shown when the text is selected. This feature aims to provide easy access to the most-used formatting commands. The Hover Menu remains semi-transparent until the mouse pointer is situated near the selection to allow a clear view of what is beneath it.

Handle the RichEditControl.HoverMenuShowing event to customize the menu.

Note

The hover menu functionality is enabled only if the BarManager component is placed on the form and the RichEditControl is bound to it.

Implements

ILinksHolder

IControllerAction

Inheritance

Object DispatcherObject DependencyObject ContentElement FrameworkContentElement DevExpress.Xpf.Bars.SLBarItemLinkHolderBase BarItemLinkHolderBase Bar RichEditHoverMenu

See Also

RichEditHoverMenu Members

HoverMenuShowing

BarManager

Create a Simple Rich Text Editor

DevExpress.Xpf.RichEdit Namespace