Copyright © 2003-2010 MultiMedia Soft

ShadowColor property

Previous pageReturn to chapter overviewNext page


[Visual Basic]

Overrides Public Property ShadowColor As Color



public override Color ShadowColor {get; set;}



public: __property Color get_ShadowColor();

public: __property void set_ShadowColor(Color);




The color used to render the shadow under the button when the ShadowMode property has a value different from ShadowModes.None (0).

If you leave this property to an undefined state (-1), the control will be able to calculate the optimal shadow color in relation to the current surface color.

This property can also be applied to modify the color used to shadow the sunken effect on a custom shaped flat button.


In order to perform changes to color settings at Design-time take a look to the How to change the control colors section.