Skip to main content

RichEditRibbonGroupNames.FileCommon Property

Gets the name of the File tab’s Common group.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string FileCommon { get; }

Property Value

Type Description
String

The “FileCommon” string.

Remarks

The Common group is in the File tab and includes the following items:

Download Menu
A drop-down menu that allows users to download a document in DOCX, RTF, or TXT format.
New Document
A button that allows users to create a document.
Open Document
A button that allows users to open a document.
Print Document
A button that allows users to print an open document.
Save Document

A button that allows users to save an open document. This button is visible only if you specify the DocumentContentChanged property or use the @bind attribute to bind the DocumentContent property to data.

<DxRichEdit @bind-DocumentContent="@DocumentContent" />

@code { 
    byte[] DocumentContent;
    // ...
}

File Common Group

Use the Common property to perform the following operations:

The following code snippet removes an item from this group.

<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

@code {
    void onCustomizeRibbon(IRibbon ribbon) {
        string tabName = RichEditRibbonTabNames.File;
        string groupName = RichEditRibbonGroupNames.FileCommon;
        string itemName = RichEditBarItemNames.PrintDocument;
        ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
    }
}
See Also