GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > Bevel Structure : Lightness Property |
'Declaration Public Property Lightness As Integer
'Usage Dim instance As Bevel Dim value As Integer instance.Lightness = value value = instance.Lightness
public int Lightness {get; set;}
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.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8