Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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.

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