RichEditContextMenuItemNames.SendBackward Field
Gets the Send Backward item’s name.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.2.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public const string SendBackward = "SendBackward"
Field Value
Type | Description |
---|---|
String | The “SendBackward” string. |
Remarks
Use this property to perform the following operations with the Send Backward item:
- Access the item’s properties
- Add/remove the item to/from a menu
- Remove the item from the Send Backward Menu
The Send Backward item is a context menu item in the Send Backward Menu. The item sends the selected floating image or text box backward. The Rich Text Editor disables this item when an inline image is selected.
The following code snippet removes the Send Backward 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.SendBackward);
}
}
See Also