RichEditRibbonGroupNames.HomeUndoClipboard Property
Gets the name of the Home tab’s Undo/Clipboard group.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.1.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public static string HomeUndoClipboard { get; }
Property Value
Type | Description |
---|---|
String | The “HomeUndoClipboard” string. |
Remarks
The Undo/Clipboard group is in the Home tab and includes the following items:
- Clipboard Menu
- A drop-down menu that allows users to copy and cut the selected text and paste the content of the Clipboard.
- Redo
- A button that allows users to redo the last operation.
- Undo
- A button that allows users to undo the last operation.
Use the HomeUndoClipboard
property to perform the following operations:
- Access the Undo/Clipboard group’s properties.
- Add/remove the group to/from the toolbar or the ribbon’s tab.
The following code snippet removes the ClipboardMenu item from the Undo/Clipboard group.
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />
@code {
void onCustomizeRibbon(IRibbon ribbon) {
string tabName = RichEditRibbonTabNames.Home;
string groupName = RichEditRibbonGroupNames.HomeUndoClipboard;
string itemName = RichEditBarItemNames.ClipboardMenu;
ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
}
}
See Also