Back to Devexpress

RichEditContextMenuItemNames.IncreaseIndent Field

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditcontextmenuitemnames-ff857deb.md

latest1.8 KB
Original Source

RichEditContextMenuItemNames.IncreaseIndent Field

Gets the Increase 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 IncreaseIndent = "IncreaseIndent"

Field Value

TypeDescription
String

The “IncreaseIndent” string.

|

Remarks

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

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

The following code snippet removes the Increase 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