[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.Bevel.Lightness

Lightness Property

Lightness

Gets or sets the percentage used for calculating the color used for the light area of the bevel.

Declaration
public int Lightness { get; set; }
Public Property Lightness As Integer
Property Value
Type Description
int

An integer value (between -100 through 100) that indicates the lighting percentage.
The default is 25.

Remarks

This property uses the color (Color property) of the object to calculate the light color for the bevel in percentages.

If set to 0, the same color as the color object is used. When a positive value is set, a brighter color is used, and when a negative value is set, a color darker than the background color is used.

This property can be used with the Darkness property to make detailed adjustments to the brightness of the bevel color.