Skip to main content
JS

RichEditRibbonItemCollectionBuilder.AddFontStyleItem() Method

Adds the Font Style item to the ribbon item collection.

Namespace: DevExpress.AspNetCore.RichEdit

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

NuGet Package: DevExpress.AspNetCore.RichEdit

Declaration

public RibbonButtonItemBuilder AddFontStyleItem()

Returns

Type Description
RibbonButtonItemBuilder

An object that can be used to further configure the added item.

Remarks

@(Html.DevExpress().RichEdit("richEdit")
    .Ribbon(ribbon => ribbon
        .Tabs(tabs => {
            tabs.Clear();
            tabs.Add("Custom Tab")
                .Items(items => {
                    items.AddFontNameItem();
                    items.AddFontSizeItem();
                    items.AddFontStyleItem();
                    items.AddIncreaseFontSizeItem();
                    items.AddDecreaseFontSizeItem();
                    //...
See Also