This project is read-only.

What is ThemeKit?

ThemeKit is a library of Windows Forms controls which enable the easy creation of themed user interfaces.

How does ThemeKit work?

ThemeKit provides alternative controls that developers can use instead of the standard controls. In most cases, these share the name of their equivalent standard control prefixed with "Theme" (eg. ThemeButton, ThemeCheckBox etc). To enable theming of the form, the form must be modified to inherit from ThemeForm instead of Form. This is a simple one line change in the code that the form designer generates. ThemeKit provides themes on a per-form basis, so an application can have a mixture of different themes for different forms, or even a mixture of themed and unthemed forms.

How are themes defined?

Themes are defined using XML which defines one or more styles for each ThemeKit control. Each style contains a collection of brushes and settings. Brushes are used to render the controls, and settings are usually used to define behaviour. To enable the use of images and other files, themes are actually zip files which contain the theme.xml file defining the theme in addition to any images required.

Last edited Oct 28, 2006 at 4:54 PM by Antwan, version 5