Table of Contents
jLamp
The jLamp control is designed to mimic an indicator lamp typically found on dash boards and control panels. Like most controls in the jControls library, it has a rich appearance, employing jControls' fill, border, shape, corner radii, drop shadow, and text features, along with a few additional features.
OnAppearance and OffAppearance Properties
The OnAppearance property describes the appearance of the lamp when it is on, and the OffAppearance property describes the appearance of the lamp when it is off.
IsOn Property
This IsOn property can be set at design time or runtime to cause the lamp to turn on or off. It can be read at runtime to inspect whether or not the lamp is on or off. The IsOn property returns true when the lamp is on, and false when the lamp is off.
Use this property at design time to style the jLamp's on and off appearances without having to run the program to verify.
IsOnChanged Event
The IsOnChanged event is fired any time the IsOn property is changed. It can be used at runtime to notify another part of the program any time the lamp is turned on or off.

