Back to Devexpress

RichEditContextMenuItemNames.DecreaseIndent Field

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditcontextmenuitemnames-170a6aa7.md

latest1.8 KB
Original Source

RichEditContextMenuItemNames.DecreaseIndent Field

Gets the Decrease Indent item’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public const string DecreaseIndent = "DecreaseIndent"

Field Value

TypeDescription
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:

razor
<DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu"/>

@code {
    void OnCustomizeContextMenu(IContextMenuItemCollection items) {
        items.Remove(RichEditContextMenuItemNames.IncreaseIndent);
        items.Remove(RichEditContextMenuItemNames.DecreaseIndent);
    }
}

See Also

RichEditContextMenuItemNames Class

RichEditContextMenuItemNames Members

DevExpress.Blazor.RichEdit Namespace