Skip to main content
All docs
V24.1

RichEditContextMenuItemNames.TextWrapInline Field

Gets the Text Wrap Inline item’s name.

Namespace: DevExpress.Blazor.RichEdit

Assembly: DevExpress.Blazor.RichEdit.v24.1.dll

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public const string TextWrapInline = "TextWrapInline"

Field Value

Type Description
String

The “TextWrapInline” string.

Remarks

Use this property to perform the following operations with the Text Wrap Inline item:

The Text Wrap Inline item is a context menu item in the Text Wrap Menu. The item places the selected image in the text and the Rich Text Editor treats this image like a character. The Rich Text Editor disables this item when a text box is selected.

The following code snippet removes the Text Wrap Inline item from the Text Wrap Menu:

<DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu"/>

@code {
    void OnCustomizeContextMenu(IContextMenuItemCollection items) {
        IContextMenuItem textWrapMenu = items[RichEditContextMenuItemNames.TextWrapMenu];
        if(textWrapMenu != null)
            textWrapMenu.Items.Remove(RichEditContextMenuItemNames.TextWrapInline);
    }
}
See Also