RichEditBarItemNames.ShowAllFieldCodes Property
Gets the Show All Field Codes item’s name.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.1.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public static string ShowAllFieldCodes { get; }
Property Value
Type | Description |
---|---|
String | The “ShowAllFieldCodes” string. |
Remarks
Use this property to perform the following operations:
The Show All Field Codes item is a button in the View group. This button displays every field as the field code.
The following code snippet removes the Show All Field Codes item from the ribbon:
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />
@code {
void onCustomizeRibbon(IRibbon ribbon) {
string tabName = RichEditRibbonTabNames.MailMerge;
string groupName = RichEditRibbonGroupNames.MailMergeView;
string itemName = RichEditBarItemNames.ShowAllFieldCodes;
ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
}
}
See Also