Skip to main content
All docs
V24.2

RichEditContextMenuItemNames.TextWrapTight Field

Gets the Text Wrap Tight item’s name.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public const string TextWrapTight = "TextWrapTight"

Field Value

Type Description
String

The “TextWrapTight” string.

Remarks

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

The Text Wrap Tight item is a context menu item in the Text Wrap Menu. The item wraps the text tightly around the selected image or text box.

Note

The Rich Text Editor currently does not support the Tight wrap type and displays it as the Square wrap type.

The following code snippet removes the Text Wrap Tight 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.TextWrapTight);
    }
}
See Also