Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

RichEditBehaviorOptions.FontSource Property

Specifies the settings applied to the default font of a RichEdit control.

Namespace: DevExpress.XtraRichEdit

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

Declaration

[DefaultValue(RichEditBaseValueSource.Auto)]
public virtual RichEditBaseValueSource FontSource { get; set; }

Property Value

Type Default Description
RichEditBaseValueSource **Auto**

A RichEditBaseValueSource enumeration member, specifying the font settings’ provider.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to FontSource
WinForms Controls SnapControlOptions
.Behavior.FontSource
RepositoryItemRichTextEdit
.OptionsBehavior.FontSource
RichEditControlOptions
.Behavior.FontSource
WPF Controls RichEditControlOptions
.Behavior.FontSource
Office File API RichEditControlOptionsBase
.Behavior.FontSource
ASP.NET Web Forms Controls ASPxRichEditSettings
.Behavior.FontSource

Remarks

Set the FontSource property to RichEditBaseValueSource.Control to use the control’s RichEditControl.Font value is used to display text. When the FontSource is set to RichEditBaseValueSource.Auto, the RichEditControl.Font value is applied if it’s different from the document’s default font value. The font is used to the text with no direct font formatting or style applied.

See Also