Back to Devexpress

RichEditRibbonGroupNames.LayoutAlignment Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbongroupnames-a15536e5.md

latest2.3 KB
Original Source

RichEditRibbonGroupNames.LayoutAlignment Property

Gets the name of the Layout tab’s Alignment group.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string LayoutAlignment { get; }

Property Value

TypeDescription
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:

The following code snippet removes this group from the Layout tab:

razor
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

@code {
    void onCustomizeRibbon(IRibbon ribbon) {
        string tabName = RichEditRibbonTabNames.TableLayout;
        string groupName = RichEditRibbonGroupNames.LayoutAlignment;
        ribbon.Tabs[tabName].Groups.Remove(groupName);
    }
}

See Also

RichEditRibbonGroupNames Class

RichEditRibbonGroupNames Members

DevExpress.Blazor.RichEdit Namespace