Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxFontOptions.OnChange Event

In This Article

Notifies the parent object about any font appearance change.

#Declaration

Delphi
property OnChange: TNotifyEvent read; write;

#Remarks

Warning

Do not handle the OnChange event of a TdxFontOptions class instance used as a part of a DevExpress component. DevExpress components handle the OnChange event to track font setting changes and redraw visual elements accordingly.

The OnChange event occurs every time one of the following properties changes its value outside a BeginUpdate/EndUpdate block:

Bold
Specifies if the bold font attribute is applied to text.
Charset
Specifies the selected character set of the active font typeface.
Height
Specifies font height, in pixels.
Italic
Specifies if the italic font attribute is applied to text.
Name
Specifies font typeface.
Pitch
Specifies if all characters in the current font have the same width.
Quality
Specifies font rendering quality level.
Size
Specifies size of the current font, in typographic points.
StrikeOut
Specifies if the strikeout font attribute is applied to text.
Style
Specifies the current state of all font attributes applied to text.
Underline
Specifies if the underline font attribute is applied to text.

The EndUpdate procedure raises the OnChange event only once.

See Also