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

TdxChildFontOptions Class

Stores font settings with element hierarchy management options.

#Declaration

Delphi
TdxChildFontOptions = class abstract(TdxFontOptions)

#Remarks

The TdxChildFontOptions class implements font settings that allow you to manage font appearance at different levels of visual element hierarchy.

The TdxChildFontOptions class introduces the AssignedValues property that allows you to track font setting changes at the current hierarchy level and reset individual font settings. If a flag is present in the AssignedValues property value, the corresponding font setting is in effect at the current hierarchy level. Otherwise, the current visual element inherits the corresponding font setting from its parent.

Note

Certain visual elements may use different algorithms to determine default font settings when corresponding assigned values are not set. For example, the Chart control’s visual elements multiply the parent element’s font size by a scale factor if the TdxFontOptionsValue.Size flag is not present in the AssignedValues property value. The scale factor depends on the target visual element type.

#Main API Members

The list below outlines key members of the TdxChildFontOptions class that allow you to change text appearance in visual elements.

#Terminal TdxChildFontOptions Class Descendant

Do not use the TdxChildFontOptions class directly. Use the TdxChartVisualElementFontOptions class instead.

See Also