Back to Devexpress

RichEditBarItemNames.ShowAllFieldCodes Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditbaritemnames-79cca20b.md

latest2.1 KB
Original Source

RichEditBarItemNames.ShowAllFieldCodes Property

Gets the Show All Field Codes item’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string ShowAllFieldCodes { get; }

Property Value

TypeDescription
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:

razor
<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

RichEditBarItemNames Class

RichEditBarItemNames Members

DevExpress.Blazor.RichEdit Namespace