RichEditBarItemNames.GoToPreviousHeaderFooter Property
Gets the Go to Previous Header Footer item’s name.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.1.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public static string GoToPreviousHeaderFooter { get; }
Property Value
Type | Description |
---|---|
String | The “GoToPreviousHeaderFooter” string. |
Remarks
Use this property to perform the following operations:
The Go to Previous Header Footer item is a button in the Navigation group. The button moves the caret from a header or footer to the beginning the previous header or footer, if any. The Rich Text Editor disables this button when no header or footer is selected.
The following code snippet removes the Go to Previous Header Footer item from the ribbon:
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />
@code {
void onCustomizeRibbon(IRibbon ribbon) {
string tabName = RichEditRibbonTabNames.HeaderAndFooter;
string groupName = RichEditRibbonGroupNames.HeaderAndFooterNavigation;
string itemName = RichEditBarItemNames.GoToPreviousHeaderFooter;
ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
}
}
See Also