Copyright © 2003-2010 MultiMedia Soft

SurfaceColor.BackColor2 property

Previous pageReturn to chapter overviewNext page


[Visual Basic]

Overrides Public Property BackColor2 As Color



public override Color BackColor2 {get; set;}



public: __property Color get_BackColor2();

public: __property void set_BackColor2(Color);




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.




See also

SurfaceColor class.

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

How to change the control colors section.