Copyright © 2003-2010 MultiMedia Soft

SpecialEffect property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Property SpecialEffect As Ctl3d.SpecialEffects

 

[C#]

public Ctl3d.SpecialEffects SpecialEffect {get; set;}

 

[C++]

public: __property Ctl3d.SpecialEffects get_SpecialEffect();

public: __property void set_SpecialEffect(Ctl3d.SpecialEffects);

 

 

Remarks

The special effect applied to the control surface: this property is not available when using Ctl3dGroupBox controls; for Ctl3dGroupBox controls use the FrameEffect property.

Supported values are the following:

Enumerated value

Value

Meaning

SpecialEffects.None

0 (default)

No special effect applied.

3dcm_i000035

SpecialEffects.Raised

1

A raised special effect is applied to the button surface.

3dcm_i000036

SpecialEffects.Sunken

2

A sunken special effect is applied to the button surface.

3dcm_i000037

SpecialEffects.SunkenSimple

3

A simpler sunken special effect is applied to the button surface.

3dcm_i000038

 

In order to change this setting at Design-time take a look to the How to change the control appearance section.

NOTE: if you have set a special effect, it's possible to define different colors for the internal and external portions of the button as seen on the image below:

 

3dcm_i00011b

 

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

The amount of this effect can be modified through the SpecialEffectFactor property.