Copyright © 2003-2010 MultiMedia Soft

SurfaceColor.GradientType property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Overrides Public Property GradientType As Ctl3d.ColorGradientType

 

[C#]

public override Ctl3d.ColorGradientType GradientType  {get; set;}

 

[C++]

public: __property Ctl3d.ColorGradientType get_GradientType ();

public: __property void set_GradientType (Ctl3d.ColorGradientType);

 

 

Remarks

The type of gradient algorithm used for 3D rendering the button surface.

Supported values are the following:

Mnemonic constant

Value

Meaning

ColorGradientType.Classic

0

A circular gradient algorithm.

3dcm_i00005d

ColorGradientType.Linear

1

A linear gradient algorithm

3dcm_i000060

 

 

See also

SurfaceColor class.

ColorSurfaceNormal, ColorSurfaceMO, ColorSurfaceInternal, ColorSurfaceFocus, ColorSurfaceDisabled, ColorSurfacePressed properties.

How to change the button colors section.