Skip to main content
All docs

ASPxRichEditFontSettings.DefaultFolder Property

Specifies a folder that contains font source files.

Namespace: DevExpress.Web.ASPxRichEdit

Assembly: DevExpress.Web.ASPxRichEdit.v23.1.dll

NuGet Package: DevExpress.Web.Office


public string DefaultFolder { get; set; }

Property Value

Type Default Description
String "fonts/"

The folder URL.

Property Paths

You can access this nested property as listed below:

Object Type Path to DefaultFolder
.Fonts .DefaultFolder


When you populate the FontCollection collection with a font, you should provide the font’s source files for four styles: regular, bold, italic, and bold italic. Place the source files in the DefaultFolder folder and name them according to the rules listed below to automatically assign the files to a corresponding ASPxRichEditFont object.

File Name Description Example
FontFamily + .ttf/.woff The font in regular style calibri.ttf
FontFamily + b + .ttf/.woff The font in bold style calibrib.ttf
FontFamily + i + .ttf/.woff The font in italic style calibrii.ttf
FontFamily + z + .ttf/.woff The font in bold italic style calibriz.ttf

See the Font Management topic to learn more about fonts in the ASPxRichEdit control.

<dx:ASPxRichEdit ID="RichEdit" runat="server" Width="100%" Height="700px">
    <Fonts DefaultFolder="fontFolder/">
        <dx:ASPxRichEditFont FontFamily="Arial" Name="Arial"/>
        <dx:ASPxRichEditFont FontFamily="Calibri" Name="Calibri"/>
See Also