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.SendToBack Property

Gets the Send to Back item’s name.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

#Declaration

C#
public static string SendToBack { get; }

#Property Value

Type Description
String

The “SendToBack” string.

#Remarks

Use this property to perform the following operations with the Send to Back item:

The Send to Back item is a button in the Send Backward Menu. The button sends the selected floating image or text box behind all images and text boxes. The Rich Text Editor disables this button when an inline image is selected.

The following code snippet removes the Send to Back item from the Send Backward Menu:

Razor
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

@code {
    void onCustomizeRibbon(IRibbon ribbon) {
        IBarItem sendBackwardMenu = ribbon.Tabs[RichEditRibbonTabNames.FloatingObjectFormat].Groups[RichEditRibbonGroupNames.FormatArrange].Items[RichEditBarItemNames.SendBackwardMenu];
        if (sendBackwardMenu.Type == BarItemTypes.DropDown) {
            IBarDropDown sendBackwardDropDown = (IBarDropDown)sendBackwardMenu;
            sendBackwardDropDown.Items.Remove(RichEditBarItemNames.SendBackward);
            sendBackwardDropDown.Items.Remove(RichEditBarItemNames.SendBehindText);
            sendBackwardDropDown.Items.Remove(RichEditBarItemNames.SendToBack);
        }
    }
}
See Also