Copyright © 2003-2024 MultiMedia Soft

SurfaceColor.BackColor2 property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Overrides Public Property BackColor2 As Color

 

[C#]

public override Color BackColor2 {get; set;}

 

[C++]

public: __property Color get_BackColor2();

public: __property void set_BackColor2(Color);

 

 

Remarks

he secondary RGB color used for calculating the gradient 3D rendering when the SurfaceColor.Render3DType property is set to ColorRenderType.TwoColors.

In the sample below you can see a button using two colors for its 3D rendering: red is the primary color (set through the SurfaceColor.BackColor property) and blue is the secondary color.

3dcm_i0000ff

 

 

See also

SurfaceColor class.

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

How to change the control colors section.