Skip to main content

RichEditBarItemNames.InsertColumnBreak Property

Gets the Insert Column Break item’s name.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string InsertColumnBreak { get; }

Property Value

Type Description
String

The “InsertColumnBreak” string.

Remarks

Use this property to perform the following operations with the Insert Column Break item:

The Insert Column Break item is a button in the Page Breaks Menu. This button allows users to insert a column break.

The following code snippet removes the Insert Column Break item from the Page Breaks Menu:

<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

@code {
    void onCustomizeRibbon(IRibbon ribbon) {
        IBarItem pageBreaksMenu = ribbon.Tabs[RichEditRibbonTabNames.PageLayout].Groups[RichEditRibbonGroupNames.PageSetup].Items[RichEditBarItemNames.PageBreaksMenu];
        if (pageBreaksMenu.Type == BarItemTypes.DropDown) {
            IBarDropDown pageBreaksDropDown = (IBarDropDown)pageBreaksMenu;
            pageBreaksDropDown.Items.Remove(RichEditBarItemNames.InsertColumnBreak);
            pageBreaksDropDown.Items.Remove(RichEditBarItemNames.InsertPageBreak);
            pageBreaksDropDown.Items.Remove(RichEditBarItemNames.InsertSectionBreakEvenPage);
            pageBreaksDropDown.Items.Remove(RichEditBarItemNames.InsertSectionBreakNextPage);
            pageBreaksDropDown.Items.Remove(RichEditBarItemNames.InsertSectionBreakOddPage);
        }
    }
}
See Also