RichEditContextMenuItemNames.SendToBack Field
Gets the Send to Back item’s name.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.1.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public const string SendToBack = "SendToBack"
Field Value
Type | Description |
---|---|
String | The “SendToBack” string. |
Remarks
Use this property to perform the following operations with the Send to Back item:
- Access the item’s properties
- Add/remove the item to/from a menu
- Remove the item from the Send Backward Menu
The Send to Back item is a context menu item in the Send Backward Menu. The item sends the selected floating image or text box behind all images and text boxes. The Rich Text Editor disables this button when an inline image is selected.
The following code snippet removes the Send to Back item from the Send Backward Menu:
<DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu" />
@code {
void OnCustomizeContextMenu(IContextMenuItemCollection items) {
IContextMenuItem sendBackwardMenu = items[RichEditContextMenuItemNames.SendBackwardMenu];
if(sendBackwardMenu != null)
sendBackwardMenu.Items.Remove(RichEditContextMenuItemNames.SendToBack);
}
}
See Also