blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbongroupnames-9b9d74c1.md
Gets the name of the File tab’s Common group.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public static string FileCommon { get; }
| Type | Description |
|---|---|
| String |
The “FileCommon” string.
|
The Common group is in the File tab and includes the following items:
Download MenuA drop-down menu that allows users to download a document in DOCX, RTF, or TXT format.New DocumentA button that allows users to create a document.Open DocumentA button that allows users to open a document.Print DocumentA 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;
// ...
}
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
RichEditRibbonGroupNames Class