Back to Devexpress

RichEditRibbonGroupNames.HomeUndoClipboard Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbongroupnames-c74e7d60.md

latest2.8 KB
Original Source

RichEditRibbonGroupNames.HomeUndoClipboard Property

Gets the name of the Home tab’s Undo/Clipboard group.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string HomeUndoClipboard { get; }

Property Value

TypeDescription
String

The “HomeUndoClipboard” string.

|

Remarks

The Undo/Clipboard group is in the Home tab and includes the following items:

Clipboard MenuA drop-down menu that allows users to copy and cut the selected text and paste the content of the Clipboard.RedoA button that allows users to redo the last operation.UndoA button that allows users to undo the last operation.

Use the HomeUndoClipboard property to perform the following operations:

The following code snippet removes the ClipboardMenu item from the Undo/Clipboard group.

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

RichEditRibbonGroupNames Class

RichEditRibbonGroupNames Members

DevExpress.Blazor.RichEdit Namespace