RichEditContextMenuItemNames.SendBackwardMenu Field
Gets the Send Backward Menu item’s name.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.1.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public const string SendBackwardMenu = "SendBackwardMenu"
Field Value
Type | Description |
---|---|
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 Backward
- The item sends the selected floating image or text box backward.
- Send Behind Text
- The item sends the selected floating image or text box behind the text.
- Send to Back
- The 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:
<DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu" />
@code {
void OnCustomizeContextMenu(IContextMenuItemCollection items) {
IContextMenuItem sendBackwardMenu = items[RichEditContextMenuItemNames.BringForwardMenu];
if(sendBackwardMenu != null)
sendBackwardMenu.Items.Clear();
}
}
See Also