Back to Devexpress

RichEditRibbonTabNames.Insert Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbontabnames-f28f39f4.md

latest2.6 KB
Original Source

RichEditRibbonTabNames.Insert Property

Gets the Insert tab’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string Insert { get; }

Property Value

TypeDescription
String

The “Insert” string.

|

Remarks

The Insert tab includes the following groups:

Header and FooterAllows users to insert the number of the current page and total number of pages, create and edit headers and footers.IllustrationsAllows users to insert a picture from a file.LinksAllows users to create bookmarks and hyperlinks.TablesAllows users to insert tables.TextAllows users to insert text boxes.

Use this property to perform the following operations with the Insert tab:

The following code snippet removes an item from this tab’s group:

razor
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

@code {
    void onCustomizeRibbon(IRibbon ribbon) {
        string tabName = RichEditRibbonTabNames.Insert;
        string groupName = RichEditRibbonGroupNames.InsertHeaderAndFooter;
        string itemName = RichEditBarItemNames.InsertPageCount;
        ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
    }
}

See Also

RichEditRibbonTabNames Class

RichEditRibbonTabNames Members

DevExpress.Blazor.RichEdit Namespace