RichEditRibbonGroupNames.ReferencesCaptions Property
Gets the name of the References tab’s Captions group.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.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.
Use the ReferencesCaptions
property to perform the following operations:
- Access the Captions group’s properties.
- Add/remove the group to/from the toolbar or the ribbon’s tab.
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