Back to Devexpress

RichEditRibbonGroupNames.ReferencesCaptions Property

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

latest3.1 KB
Original Source

RichEditRibbonGroupNames.ReferencesCaptions Property

Gets the name of the References tab’s Captions group.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string ReferencesCaptions { get; }

Property Value

TypeDescription
String

The “ReferencesCaptions” string.

|

Remarks

The Captions group is in the References tab and includes the following items:

Insert Caption MenuThe drop-down menu that allows users to insert a SEQ field that generates a caption for a figure, table, or equation.Table of Figures MenuThe drop-down menu that allows users to insert a TOC field that generates a list of figures, tables, or equations.Update Table of ContentsThe button updates the selected TOC field.

Use the ReferencesCaptions property to perform the following operations:

The following code snippet removes an item from this group.

razor
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

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

See Also

RichEditRibbonGroupNames Class

RichEditRibbonGroupNames Members

DevExpress.Blazor.RichEdit Namespace