RichEditRibbonGroupNames.LayoutAlignment Property
Gets the name of the Layout tab’s Alignment group.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.1.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public static string LayoutAlignment { get; }
Property Value
Type | Description |
---|---|
String | The “LayoutAlignment” string. |
Remarks
The Alignment group is in the Layout tab. This group includes the Cell Alignment Menu item that allows users to align the text in table cells.
Use the LayoutAlignment
property to perform the following operations:
- Access the Alignment group’s properties.
- Add/remove the group to/from the toolbar or the ribbon’s tab.
The following code snippet removes this group from the Layout tab:
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />
@code {
void onCustomizeRibbon(IRibbon ribbon) {
string tabName = RichEditRibbonTabNames.TableLayout;
string groupName = RichEditRibbonGroupNames.LayoutAlignment;
ribbon.Tabs[tabName].Groups.Remove(groupName);
}
}
See Also