The jLamp
control is designed to mimic an indicator lamp typically found on dash boards and control panels.
The CornerRadii
property can be used to set shape of the lamp's four corners when the Shape property is set to Rectangular
. Each corner can be set independently.
The OffAppearance
and OnAppearance
properties provide the ability to customize the appearance of the jLamp when it is in the Off state or the On state (see the IsOn property), respectively.
This IsOn
property is used to change the state of the control. When IsOn
is true
, the jLamp
control will display according to the OnAppearance
property. When IsOn
is false
, it will display according to the OffAppearance
property.
The Shape
property can be used to select the overall shape of the button: Rectangular
or Round
jLamp
employs the same text features used by many of the other controls in the jControls CF35 library including ForeColor
, TextOffset
, TextAlignment
, and TextWrap
. See Text Features for more information.