Back to Devexpress

RichEditContextMenuItemNames.SendBackwardMenu Field

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditcontextmenuitemnames-b82bb59b.md

latest2.5 KB
Original Source

RichEditContextMenuItemNames.SendBackwardMenu Field

Gets the Send Backward Menu item’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public const string SendBackwardMenu = "SendBackwardMenu"

Field Value

TypeDescription
String

The “SendBackwardMenu” string.

|

Remarks

Use this property to perform the following operations with the Send Backward Menu item:

The Send Backward Menu item is a context menu item that contains the following sub-menu items:

Send BackwardThe item sends the selected floating image or text box backward.Send Behind TextThe item sends the selected floating image or text box behind the text.Send to BackThe item sends the selected floating image or text box behind all images and text boxes.

The following code snippet removes sub-menu items from the Send Backward Menu :

razor
<DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu" />

@code {
    void OnCustomizeContextMenu(IContextMenuItemCollection items) {
        IContextMenuItem sendBackwardMenu = items[RichEditContextMenuItemNames.BringForwardMenu];
        if(sendBackwardMenu != null)
            sendBackwardMenu.Items.Clear();
    }
}

See Also

RichEditContextMenuItemNames Class

RichEditContextMenuItemNames Members

DevExpress.Blazor.RichEdit Namespace