All docs
V20.2
20.2
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+

RichEditBehaviorOptions.UseThemeFonts Property

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

Namespace: DevExpress.XtraRichEdit

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

Declaration

public virtual bool UseThemeFonts { get; set; }
Public Overridable Property UseThemeFonts As Boolean

Property Value

Type Description
Boolean

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

Property Paths

You can access this nested property as listed below:

Show 18 property paths
Library Object Type Path to UseThemeFonts
WinForms Controls SnapControl
.Options.Behavior.UseThemeFonts
SnapControl
.Options.Behavior.UseThemeFonts
SnapControlOptions
.Behavior.UseThemeFonts
RepositoryItemRichTextEdit
.OptionsBehavior.UseThemeFonts
RichEditControl
.Options.Behavior.UseThemeFonts
RichEditControlOptions
.Behavior.UseThemeFonts
WPF Controls RichEditControl
.Options.Behavior.UseThemeFonts
RichEditControlOptions
.Behavior.UseThemeFonts
ASP.NET Controls and MVC Extensions ASPxRichEdit
.Settings.Behavior.UseThemeFonts
ASPxRichEditSettings
.Behavior.UseThemeFonts
MVCxRichEdit
.Settings.Behavior.UseThemeFonts
RichEditSettings
.Settings.Behavior.UseThemeFonts
ASP.NET Bootstrap Controls BootstrapRichEdit
.Settings.Behavior.UseThemeFonts
Office File API SnapDocumentServer
.Options.Behavior.UseThemeFonts
IRichEditDocumentServer
.Options.Behavior.UseThemeFonts
RichEditControlOptionsBase
.Behavior.UseThemeFonts
RichEditDocumentServer
.Options.Behavior.UseThemeFonts
Reporting SyntaxEditor
.Options.Behavior.UseThemeFonts

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 RichEditBehaviorOptions.UseThemeFonts property (or DXRichEditBehaviorOptions.UseThemeFonts for WPF) to false before loading a new document to disable themes for a specific component.

TIP

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

See Also