blazor-devexpress-dot-blazor-dot-richedit-dot-richeditbaritemnames-17aaf07e.md
Gets the Bring Forward Menu item’s name.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public static string BringForwardMenu { get; }
| Type | Description |
|---|---|
| String |
The “BringForwardMenu” string.
|
Use this property to perform the following operations:
The Bring Forward Menu item is a drop-down menu in the Arrange group. This menu contains the following items:
Bring ForwardThe button brings the selected floating image or text box forward.Bring in Front of TextThe button brings the selected floating image or text box in front of the text.Bring to FrontThe button brings the selected floating image or text box in front of all images and text boxes.
When a user clicks the Bring Forward Menu , the Rich Text Editor brings the selected floating image or text box forward. Use the drop down‘s Click property to change this behavior.
The following code snippet removes items from the Bring Forward Menu item:
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />
@code {
void onCustomizeRibbon(IRibbon ribbon) {
IBarItem bringForwardMenu = ribbon.Tabs[RichEditRibbonTabNames.FloatingObjectFormat].Groups[RichEditRibbonGroupNames.FormatArrange].Items[RichEditBarItemNames.BringForwardMenu];
if (bringForwardMenu.Type == BarItemTypes.DropDown) {
IBarDropDown bringForwardDropDown = (IBarDropDown)bringForwardMenu;
bringForwardDropDown.Items.Remove(RichEditBarItemNames.BringForward);
bringForwardDropDown.Items.Remove(RichEditBarItemNames.BringInFrontOfText);
bringForwardDropDown.Items.Remove(RichEditBarItemNames.BringToFront);
}
}
}
See Also