Skip to main content
All docs
V25.1
  • RichEditRibbonGroupNames.ReferencesCaptions Property

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

    Namespace: DevExpress.Blazor.RichEdit

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

    NuGet Package: DevExpress.Blazor.RichEdit

    Declaration

    public static string ReferencesCaptions { get; }

    Property Value

    Type Description
    String

    The “ReferencesCaptions” string.

    Remarks

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

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

    Captions Group

    Use the ReferencesCaptions property to perform the following operations:

    The following code snippet removes an item from this group.

    <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