Skip to main content
JS

RichEditBuilder.ContextMenu(Action<ContextMenuBuilder>) Method

Allows you to configure context menu settings.

Namespace: DevExpress.AspNetCore.RichEdit

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

NuGet Package: DevExpress.AspNetCore.RichEdit

Declaration

public RichEditBuilder ContextMenu(
    Action<ContextMenuBuilder> configure
)

Parameters

Name Type Description
configure Action<ContextMenuBuilder>

A method that configures the context menu settings.

Returns

Type Description
RichEditBuilder

The Rich Text Editor builder.

Remarks

@(Html.DevExpress().RichEdit("richEdit")
    .ContextMenu(cm => cm
        .Enabled(false)
    )
)
See Also