All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
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.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

RichEditControlCompatibility.UseThemeFonts Property

Specifies whether to use theme fonts to retrieve default document font information.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v20.1.Core.dll

Declaration

[DefaultValue(true)]
public static bool UseThemeFonts { get; set; }
<DefaultValue(True)>
Public Shared Property UseThemeFonts As Boolean

Property Value

Type Description
Boolean

true, to retrieve document fonts from themes; otherwise, false.

Remarks

In previous versions, the RichEditControlCompatibility.DefaultFontName property allowed you to control the default document font.

With the 19.2 release, the word processing components use document themes to retrieve default document font information. The RichEditControlCompatibility.DefaultFontName property no longer affects the default document font.

Set the RichEditControlCompatibility.UseThemeFonts property to false when starting the application to restore the previous behavior in all instances of the RichEdit components.

TIP

Set the RichEditBehaviorOptions.UseThemeFonts property (or DXRichEditBehaviorOptions.UseThemeFonts for WPF) to false before loading a new document to disable themes for a specific component.

See Also