Copyright © 2003-2024 MultiMedia Soft

SwapEffectsColors property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Property SwapEffectsColors As Boolean

 

[C#]

public bool SwapEffectsColors {get; set;}

 

[C++]

public: __property bool get_SwapEffectsColors();

public: __property void set_SwapEffectsColors(bool);

 

 

Remarks

When a special effect has been selected through the SpecialEffect property, swaps the colors set for the external and internal portions of the button's surface.

This property can be changed at Design time using the Colors tab.

Supported values are the following:

Value

Meaning

False (default)

Colors are not swapped.

True

Colors are swapped.

 

 

Below you can see two buttons whose SpecialEffect property has been set to SPECIAL_EFFECT_RAISED. The button on the left has the ColorSurfaceNormal.BackColor property set to a light blue and the ColorSurfaceInternal.BackColor property set to red. The button on the right has exactly the same color settings but the SwapEffectsColors property has been set to True, resulting in a swap of the involved colors.

 

3dcm_i00012b

 

For further details about colors change, see the How to change the control colors section.