Copyright © 2003-2010 MultiMedia Soft

Surface property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Property Surface As Ctl3d.Surfaces

 

[C#]

public Ctl3d.Surfaces Surface {get; set;}

 

[C++]

public: __property Ctl3d.Surfaces get_Surface();

public: __property void set_Surface(Ctl3d.Surfaces);

 

 

Remarks

The button surface type.

Supported values are the following:

Enumerated value

Value

Meaning

Surfaces.HardPillow

0 (default)

Hard pillow. Below you can see a sample of the button surface in Normal and Pressed state:

3dcm_i000028

Surfaces.SoftPillow

1

Soft pillow: this kind of surface differs from the previous Hard pillow surface only when the button is in Pressed state. Below you can see a sample of the button surface in Normal and Pressed state:

3dcm_i000029

Surfaces.Flat

2

Flat

3dcm_i00002a

Surfaces.FlatPillow

3

Flat pillow

3dcm_i00002b

Surfaces.SunkenPillow

4

Sunken pillow

3dcm_i00002c

Surfaces.Plastic

5

Plastic look

3dcm_i00002d

Surfaces.Lucid

6

Lucid look

3dcm_i00002e

Surfaces.Neon

7

Neon look

3dcm_i00002f

Surfaces.Aqua

8

Aqua look

3dcm_i000030

Surfaces.Gel

9

Gel look

3dcm_i000031

Surfaces.PlasticShaped

10

Plastic shaped look

3dcm_i000032

Surfaces.NeonShaped

11

Neon shaped look

3dcm_i000033

Surfaces.AquaShaped

12

Aqua shaped look

3dcm_i000034

Surfaces.GelShaped

13

Gel shaped look

3dcm_i000149

Surfaces.VistaAero (*)

14

Windows Vista's "Aero" look

3dcm_i00014a

Surfaces.Office2003 (*)

15

Office 2003 look

3dcm_i00014b

Surfaces.Office2007 (*)

16

Office 2007 look

3dcm_i00014c

 

(*) Surface not available when the Shape property is set to one of the following values:

Shapes.Parallel

Shapes.Custom

Shapes.Triangle

Shapes.Trapeze

Shapes.Arrow

Shapes.Honeycomb45

Shapes.Honeycomb135

Shapes.Diamond

Shapes.Keyhole

Shapes.FourLeafCloverVert

Shapes.FourLeafCloverDiag

Shapes.Alfalfa

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