Container - PrivateStyles Property

Collection of styles applied to the control but not inherited by child controls

Member of Container (PRIM_CPST)

Data Type - Collection of PRIM_VS.Style - Style used to define foreground and background appearance

Details

The PrivateStyles 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

LANSA Version 15, April 2020