Copyright © 2003-2024 MultiMedia Soft

Shape property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Property Shape As Ctl3d.Shapes

 

[C#]

public Ctl3d.Shapes Shape {get; set;}

 

[C++]

public: __property Ctl3d.Shapes get_Shape();

public: __property void set_Shape(Ctl3d.Shapes);

 

 

Remarks

The shape of the button.

Supported values are the following:

Enumerated value

Value

Meaning

Shapes.Rectangle

0 (default)

Rectangle

3dcm_i000022

Shapes.RoundRect

1

Rounded Rectangle (*)

3dcm_i000023

Shapes.Parallel (*)

2

Parallelogram (*)

3dcm_i000024

Shapes.Ellipse

3

Ellipse

3dcm_i000025

Shapes.Gem

4

Gem (*)

3dcm_i000026

Shapes.Custom (*)

5

Custom: the shape is determined by the PictureCustom property. By default, if no Picture has been entered in PictureCustom property, an octagonal shape is used.

Here follows an example of Custom shaped button with a cloud shape:

3dcm_i000027

Shapes.Triangle (*)

6

Triangle (*)

3dcm_i00010f

Shapes.Trapeze (*)

7

Trapeze (*)

3dcm_i000110

Shapes.Arrow (*)

8

Arrow (*)

3dcm_i000111

Shapes.HoneycombVert

9

Vertical honeycomb

3dcm_i000112

Shapes.HoneycombHoriz

10

Horizontal honeycomb

3dcm_i000113

Shapes.Honeycomb45 (*)

11

45º honeycomb

3dcm_i000114

Shapes.Honeycomb135 (*)

12

135º honeycomb

3dcm_i000115

Shapes.Diamond (*)

13

Diamond

3dcm_i000116

Shapes.Keyhole (*)

14

Keyhole (*)

3dcm_i000117

Shapes.FourLeafCloverVert (*)

15

Vertical four leaf clover

3dcm_i000118

Shapes.FourLeafCloverDiag (*)

16

Diagonal four leaf clover

3dcm_i000119

Shapes.Alfalfa (*)

17

Alfalfa (*)

3dcm_i00011a

 

(*) Shapes marked with a red asterisk can have a further modification of their shape through the Orientation property.

(*) Shapes marked with a green asterisk are not available when the Surface property is set to one of the following styles:

Surfaces.VistaAero

Surfaces.Office2003

Surfaces.Office2007

 

 

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