Skip to main content
All docs
V25.1
  • RichEditContextMenuItemNames.DecreaseIndent Field

    Gets the Decrease Indent item’s name.

    Namespace: DevExpress.Blazor.RichEdit

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

    NuGet Package: DevExpress.Blazor.RichEdit

    Declaration

    public const string DecreaseIndent = "DecreaseIndent"

    Field Value

    Type Description
    String

    The “DecreaseIndent” string.

    Remarks

    Use this property to perform the following operations with the Decrease Indent item:

    The Decrease Indent item is a context menu item that allows users to decrease the indent of selected paragraphs.

    The following code snippet removes the Decrease Indent item from the context menu:

    <DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu"/>
    
    @code {
        void OnCustomizeContextMenu(IContextMenuItemCollection items) {
            items.Remove(RichEditContextMenuItemNames.IncreaseIndent);
            items.Remove(RichEditContextMenuItemNames.DecreaseIndent);
        }
    }
    
    See Also