blazor-devexpress-dot-blazor-dot-richedit-dot-richeditbaritemnames-5e60d984.md
Gets the Insert Table of Equations Field item’s name.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public static string InsertTableOfEquationsField { get; }
| Type | Description |
|---|---|
| String |
The “InsertTableOfEquationsField” string.
|
Use this property to perform the following operations with the Insert Table of Equations Field item:
The Insert Table of Equations Field item is a button in the Table of Figures Menu item.
The Insert Table of Equations Field button is disabled if a TOC field is selected. Use the button’s GetEnabled property to change this behavior.
The following code snippet removes the Insert Table of Equations Field item from the Table of Figures Menu:
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />
@code {
void onCustomizeRibbon(IRibbon ribbon) {
IBarItem tableOfFiguresMenu = ribbon.Tabs[RichEditRibbonTabNames.References].Groups[RichEditRibbonGroupNames.ReferencesCaptions].Items[RichEditBarItemNames.TableOfFiguresMenu];
if (tableOfFiguresMenu.Type == BarItemTypes.DropDown) {
IBarDropDown tableOfFiguresDropDown = (IBarDropDown)tableOfFiguresMenu;
tableOfFiguresDropDown.Items.Remove(RichEditBarItemNames.InsertTableOfEquationsField);
tableOfFiguresDropDown.Items.Remove(RichEditBarItemNames.InsertTableOfFiguresField);
tableOfFiguresDropDown.Items.Remove(RichEditBarItemNames.InsertTableOfTablesField);
}
}
}
See Also