TdxChildFontOptions.AssignedValues Property
Specifies font settings defined at the current hierarchy level.
Declaration
property AssignedValues: TdxFontOptionsValues read; write;
Property Value
Type | Description |
---|---|
TdxFontOptionsValues | The set of flags that correspond to individual font settings defined at the current hierarchy level. |
Remarks
You can use the AssignedValues
property 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 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.
Font Setting Modification Flags
The AssignedValues
property value can include any number of the following flags in any combination:
Flag | Assigned Property | Description |
---|---|---|
TdxFontOptionsValue.Bold | Bold | The Bold font attribute is defined at the current hierarchy level. |
TdxFontOptionsValue.Charset | Charset | The character set of the active font typeface is defined at the current hierarchy level. |
TdxFontOptionsValue.Italic | Italic | The Italic font attribute is defined at the current hierarchy level. |
TdxFontOptionsValue.Name | Name | The font typeface is defined at the current hierarchy level. |
TdxFontOptionsValue.Pitch | Pitch | The pitch of the active font typeface is defined at the current hierarchy level. |
TdxFontOptionsValue.Quality | Quality | Font quality is defined at the current hierarchy level. |
TdxFontOptionsValue.Size | Size | The font size is defined at the current hierarchy level. |
TdxFontOptionsValue.StrikeOut | StrikeOut | The Strikeout font attribute is defined at the current hierarchy level. |
TdxFontOptionsValue.Underline | Underline | The Underline font attribute is defined at the current hierarchy level. |
Default Value
The AssignedValues
property’s default value is []
.