blazor-devexpress-dot-blazor-dot-richedit-dot-richeditcontextmenuitemnames-0ad89111.md
Gets the Text Wrap Menu item’s name.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public const string TextWrapMenu = "TextWrapMenu"
| Type | Description |
|---|---|
| String |
The “TextWrapMenu” string.
|
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
RichEditContextMenuItemNames Class