Skip to main content
JS

RichEditRibbonItemCollectionBuilder.AddFontNameItem() Method

Adds the Font Name item to the ribbon item collection.

Namespace: DevExpress.AspNetCore.RichEdit

Assembly: DevExpress.AspNetCore.RichEdit.v23.2.dll

NuGet Package: DevExpress.AspNetCore.RichEdit

Declaration

public RibbonSelectBoxItemBuilder AddFontNameItem()

Returns

Type Description
RibbonSelectBoxItemBuilder

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