Skip to main content

TdxStatusBarPanelStyle.ParentFont Property

Specifies whether panel text is painted using font settings of the status bar control.

Declaration

property ParentFont: Boolean read; write; default True;

Property Value

Type Default
Boolean True

Remarks

Setting the ParentFont property to True automatically assigns font settings of the status bar control to the Font property of the panel style object. As a result, panel text is painted using font settings of the owning status bar. Changing the font settings of the panel style object automatically sets the ParentFont property to False.

The ParentFont property is useful if you need to provide a common text appearance within all status bar sections. In this instance, you can modify font settings of the status bar control and set the ParentFont property to True so that panels use those modified settings.

The default value of the ParentFont property is True.

See Also