Back to Devexpress

RichEditBarItemNames.SendBackwardMenu Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditbaritemnames-9c07d209.md

latest3.2 KB
Original Source

RichEditBarItemNames.SendBackwardMenu Property

Gets the Send Backward Menu item’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string SendBackwardMenu { get; }

Property Value

TypeDescription
String

The “SendBackwardMenu” string.

|

Remarks

Use this property to perform the following operations:

The Send Backward Menu item is a drop-down menu in the Arrange group. This menu contains the following items:

Send BackwardThe button sends the selected floating image or text box backward.Send Behind TextThe button sends the selected floating image or text box behind the text.Send to BackThe button sends the selected floating image or text box behind all images and text boxes.

When a user clicks the Send Backward Menu , the Rich Text Editor sends the selected floating image or text box backward. Use the drop down‘s Click property to change this behavior.

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

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

RichEditBarItemNames Class

RichEditBarItemNames Members

DevExpress.Blazor.RichEdit Namespace