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