Skip to main content
All docs
V25.1
  • RichEditBarItemNames.SendBehindText Property

    Gets the Send Behind Text item’s name.

    Namespace: DevExpress.Blazor.RichEdit

    Assembly: DevExpress.Blazor.RichEdit.v25.1.dll

    NuGet Package: DevExpress.Blazor.RichEdit

    Declaration

    public static string SendBehindText { get; }

    Property Value

    Type Description
    String

    The “SendBehindText” string.

    Remarks

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

    The Send Behind Text item is a button in the Send Backward Menu. The button sends the selected floating image or text box behind the text. The Rich Text Editor disables this button when an inline image is selected.

    The following code snippet removes the Send Behind Text item from the Send Backward Menu:

    <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