Copyright © 2003-2024 MultiMedia Soft

ShadowColor property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Overrides Public Property ShadowColor As Color

 

[C#]

public override Color ShadowColor {get; set;}

 

[C++]

public: __property Color get_ShadowColor();

public: __property void set_ShadowColor(Color);

 

 

Remarks

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.

3dcm_i00006b

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