RichEditContextMenuItemNames.ToggleFieldCodes Field
In This Article
Gets the Toggle Field Codes item’s name.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.2.dll
NuGet Package: DevExpress.Blazor.RichEdit
#Declaration
C#
public const string ToggleFieldCodes = "ToggleFieldCodes"
#Field Value
Type | Description |
---|---|
String | The “Toggle |
#Remarks
Use this property to perform the following operations with the Update Field item:
The Toggle Field Codes item is a context menu item that displays the current field as the field code.
The following code snippet removes the Toggle Field Codes item from the context menu:
Razor
<DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu"/>
@code {
void OnCustomizeContextMenu(IContextMenuItemCollection items) {
items.Remove(RichEditContextMenuItemNames.ToggleFieldCodes);
}
}
See Also