Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditBarItemNames.BringForward Property

Gets the Bring Forward item’s name.

Namespace: DevExpress.Blazor.RichEdit

Assembly: DevExpress.Blazor.RichEdit.v24.2.dll

NuGet Package: DevExpress.Blazor.RichEdit

#Declaration

C#
public static string BringForward { get; }

#Property Value

Type Description
String

The “BringForward” string.

#Remarks

Use this property to perform the following operations with the Bring Forward item:

The Bring Forward item is a button in the Bring Forward Menu. The button brings the selected floating image or text box forward. The Rich Text Editor disables this button when an inline image is selected.

The following code snippet removes the Bring Forward item from the Bring Forward Menu:

Razor
<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