Back to Devexpress

TdxRichEditBaseValueSource Enum

vcl-dxrichedit-dot-types-5fd73472.md

latest1.4 KB
Original Source

TdxRichEditBaseValueSource Enum

Enumerates available sources of the font settings applied to the text range that has no explicitly specified formatting.

Declaration

delphi
TdxRichEditBaseValueSource = (
    Auto,
    Document,
    Control
);

Members

Name
Auto
Document
Control

Remarks

Options include:

ValueDescription
AutoThe control uses the opened document’s font settings as default.
DocumentThis value is identical to Auto.
ControlThe control uses the Font property settings as the font setting by default.

The Rich Edit control’s Options.Behavior.FontSource and Options.Behavior.ForeColorSource properties reference the TdxRichEditBaseValueSource type.

Note

TdxRichEditBaseValueSource is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxRichEditBaseValueSource.Auto (in Delphi) or TdxRichEditBaseValueSource::Auto (in C++Builder) to refer to the Auto value in code.

See Also

dxRichEdit.Types Unit