All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ASPxRichEditFontSettings.DefaultFolder Property

Specifies a folder that contains font source files.

Namespace: DevExpress.Web.ASPxRichEdit

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

Declaration

[DefaultValue("fonts/")]
public string DefaultFolder { get; set; }
<DefaultValue("fonts/")>
Public Property DefaultFolder As String

Property Value

Type Default Description
String

"fonts/"

The folder URL.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to DefaultFolder
ASP.NET Controls and MVC Extensions ASPxRichEdit
.Settings.Fonts.DefaultFolder
ASPxRichEditSettings
.Fonts.DefaultFolder
MVCxRichEdit
.Settings.Fonts.DefaultFolder
RichEditSettings
.Settings.Fonts.DefaultFolder
ASP.NET Bootstrap Controls BootstrapRichEdit
.Settings.Fonts.DefaultFolder

Remarks

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">
  <Settings>
    <Fonts DefaultFolder="fontFolder/">
      <FontCollection>
        <dx:ASPxRichEditFont FontFamily="Arial" Name="Arial"/>
        <dx:ASPxRichEditFont FontFamily="Calibri" Name="Calibri"/>
      </FontCollection>
    </Fonts>
  <Settings>
</dx:ASPxRichEdit>
See Also