Copyright © 2003-2024 MultiMedia Soft

SurfaceColor class

Previous pageReturn to chapter overviewNext page

The SurfaceColor class is internally implemented as an "expandable object" and contains information needed to calculate the gradient 3D rendering applied over the control surface.

It can be used in order to change the settings of any of the following color properties, based upon this class: ColorSurfaceNormal, ColorSurfaceMO, ColorSurfaceInternal, ColorSurfaceFocus, ColorSurfaceDisabled and ColorSurfacePressed ; in order to perform changes to color settings at Design-time take a look to the How to change the control colors section.

The SurfaceColor class is implemented through the following properties:

BackColor

BackColor2

Render3DType

GradientType

GradientFactor