Updated: Dec 16, 2023
Follow on twitter

Changing color of a (skinned) component.

Several ways exists for changing of colors in skinned controls:

  • Most components from the AlphaControls package has the SkinData property where CustomColor sub-property exists. If the SkinData.CustomColor property is True, then component will be colored by standard Color property.

  • Second way is more complex, but have more possibilities. Colors for different states of the control may be defined, also may be specified gradient or texture. The TsSkinManager component has the CommonSections property, where may be created any amount of virtual skin sections which may be used in components. These sections may inherit properties like colors or images from other existing section and doesn't loss data after a skin changing.

    Working example of the CommonSections property using may be downloaded here .






Installing, using and licensing the demo programs © Sergii Goncharov, Ukraine, Odessa 2004-2023