RichEditContextMenuItemNames.ToggleFieldCodes Field
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
public const string ToggleFieldCodes = "ToggleFieldCodes"
Field Value
Type | Description |
---|---|
String | The “ToggleFieldCodes” string. |
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:
<DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu"/>
@code {
void OnCustomizeContextMenu(IContextMenuItemCollection items) {
items.Remove(RichEditContextMenuItemNames.ToggleFieldCodes);
}
}
See Also