Copyright © 2003-2024 MultiMedia Soft
SurfaceColor.GradientFactor property
Type
[Visual Basic]
Overrides Public Property GradientFactor As Short
[C#]
public override short GradientFactor {get; set;}
[C++]
public: __property short get_GradientFactor ();
public: __property void set_GradientFactor (short);
Remarks
The factor used to calculate the 3D gradient applied to the color.
The value can be in the range from 1 to 6: the higher is the value the darker will appear the button surface; the default value is 4.
Here follows a set of identical buttons whose only difference is the GradientFactor property value that is displayed over the button surface.
See also
SurfaceColor class.
ColorSurfaceNormal, ColorSurfaceMO, ColorSurfaceInternal, ColorSurfaceFocus, ColorSurfaceDisabled, ColorSurfacePressed properties.
How to change the button colors section.