Back to Devexpress

DxRichEdit.ContextMenuEnabled Property

blazor-devexpress-dot-blazor-dot-richedit-dot-dxrichedit-0152787e.md

latest1.3 KB
Original Source

DxRichEdit.ContextMenuEnabled Property

Specifies whether context menu functionality is enabled.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
[Parameter]
public bool ContextMenuEnabled { get; set; }

Property Value

TypeDescription
Boolean

true to enable the context menu; otherwise, false.

|

Remarks

Set the Enabled property to false to disable the context menu in the Rich Text Editor.

razor
<DxRichEdit ContextMenuEnabled="false"/>

You can also handle the CustomizeContextMenu event to control availability and visibility of individual menu items.

Run Demo: Context Menu Customization

See Also

DxRichEdit Class

DxRichEdit Members

DevExpress.Blazor.RichEdit Namespace