RichEditContextMenuItemNames.TextWrapMenu Field
Gets the Text Wrap Menu item’s name.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.1.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public const string TextWrapMenu = "TextWrapMenu"
Field Value
Type | Description |
---|---|
String | The “TextWrapMenu” string. |
Remarks
Use this property to perform the following operations with the Text Wrap Menu item:
The Text Wrap Menu item is a context menu item. The item contains the following sub-menu items that allow users to change how text wraps around the selected image or text box:
The following code snippet removes sub-menu items from the Text Wrap Menu:
<DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu"/>
@code {
void OnCustomizeContextMenu(IContextMenuItemCollection items) {
IContextMenuItem textWrapMenu = items[RichEditContextMenuItemNames.TextWrapMenu];
if(textWrapMenu != null)
textWrapMenu.Items.Clear();
}
}
See Also