Back to Devexpress

RichEditBarItemNames.TableBorderWidth Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditbaritemnames-c9733c41.md

latest3.3 KB
Original Source

RichEditBarItemNames.TableBorderWidth Property

Gets the Table Border Width item’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string TableBorderWidth { get; }

Property Value

TypeDescription
String

The “TableBorderWidth” string.

|

Remarks

Use this property to perform the following operations:

The Table Border Width item is a combo box in the Borders and Shadings group. This combo box sets but does not apply the border width setting. To apply border settings to the selected cell’s borders, use the following Table Borders Menu‘s items:

The following code snippet removes the Table Border Style item from the ribbon:

razor
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

@code {
    void onCustomizeRibbon(IRibbon ribbon) {
        string tabName = RichEditRibbonTabNames.TableDesign;
        string groupName = RichEditRibbonGroupNames.DesignBordersAndShadings;
        string itemName = RichEditBarItemNames.TableBorderStyle;
        ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
    }
}

See Also

RichEditBarItemNames Class

RichEditBarItemNames Members

DevExpress.Blazor.RichEdit Namespace