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.2.dll

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