RichEditRibbonGroupNames.LayoutRowsAndColumns Property
Gets the name of the Layout tab’s Rows and Columns group.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.2.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public static string LayoutRowsAndColumns { get; }
Property Value
Type | Description |
---|---|
String | The “LayoutRowsAndColumns” string. |
Remarks
The Rows and Columns group is in the Layout tab and includes the following items:
- Delete Table Elements Menu
- The drop-down menu that allows users to delete rows, columns, cells, or a table.
- Insert Table Elements Menu
- The drop-down menu that allows users to insert rows and columns to the selected table.
Use the LayoutRowsAndColumns
property to perform the following operations:
- Access the Rows and Columns group’s properties.
- Add/remove the group to/from the toolbar or the ribbon’s tab.
The following code snippet removes an item from this group.
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />
@code {
void onCustomizeRibbon(IRibbon ribbon) {
string tabName = RichEditRibbonTabNames.TableLayout;
string groupName = RichEditRibbonGroupNames.LayoutRowsAndColumns;
string itemName = RichEditBarItemNames.DeleteTableElementsMenu;
ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
}
}
See Also