Back to Devexpress

RichEditRibbonTabNames.References Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbontabnames-3f5c128a.md

latest2.8 KB
Original Source

RichEditRibbonTabNames.References Property

Gets the References tab’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string References { get; }

Property Value

TypeDescription
String

The “References” string.

|

Remarks

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

The References tab includes the following groups:

CaptionsAllows users to insert captions, update tables of contents, insert and update lists of equations, figures, or tables.Table of ContentsAllows users to insert a table of contents and add paragraphs into this table.

Use this property to perform the following operations with the Page Layout 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.References;
        string groupName = RichEditRibbonGroupNames.ReferencesTableOfContents;
        string itemName = RichEditBarItemNames.AddParagraphsToTableOfContentsMenu;
        ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
    }
}

See Also

RichEditRibbonTabNames Class

RichEditRibbonTabNames Members

DevExpress.Blazor.RichEdit Namespace