You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Container - PrivateStyle Property
Style applied to the control but not inherited by child controls
Member of Container (PRIM_CPST)
Data Type - PRIM_VS.Style - Style used to define foreground and background appearance

Details


The PrivateStyle property allows composite controls to have their own styles without affecting the appearance of child controls.
For example, a group box may need to have a bold text but normally, applying bold to a composite directly will cause the both the caption and contents to become bold.
By specifying this as a PrivateStyle the group box can step out of the style inheritance chain.

See also

All Component Classes
Technical Reference

  • No labels