Skip to main content

TcxEditButtonStyle Enum

Represents the button style of an edit control.

Declaration

TcxEditButtonStyle = (
    btsDefault,
    bts3D,
    btsFlat,
    btsSimple,
    btsHotFlat,
    btsUltraFlat,
    btsOffice11
);

Members

Name
btsDefault
bts3D
btsFlat
btsSimple
btsHotFlat
btsUltraFlat
btsOffice11

Remarks

The TcxEditButtonStyle type enumerates button styles set via the TcxCustomEditStyle.ButtonStyle property.

Value

Meaning

btsDefault

The button style is determined by the border style of the editor which is set via the TcxCustomEditStyle.BorderStyle property. Possible values for the border style are presented by the TcxEditBorderStyle enumerator.

bts3D

A button appears three-dimensional. It is not highlighted when the mouse cursor is positioned over it.

The following image demonstrates the TcxButtonEdit control with BorderStyle set to ebs3D and ButtonStyle set to bts3D.

btsFlat

A button appears flat with a slight three-dimensional effect. It is not highlighted when the mouse cursor is positioned over it.

The following image demonstrates the TcxButtonEdit control with BorderStyle set to ebs3D and ButtonStyle set to btsFlat.

btsSimple

A button normally appears without borders. It is displayed with the btsFlat effect when the mouse cursor is positioned over it.

The following images demonstrate the TcxButtonEdit control with BorderStyle set to ebs3D and ButtonStyle set to btsSimple.

btsHotFlat

A button appears flat with a thin border. It is highlighted when the mouse cursor is positioned over it.

The following images demonstrate the TcxButtonEdit control with BorderStyle set to ebs3D and ButtonStyle set to btsHotFlat.

btsUltraFlat

A button has an Office XP style. It appears flat without borders and is highlighted when the mouse cursor is positioned over it.

The following images demonstrate the TcxButtonEdit control with BorderStyle set to ebs3D and ButtonStyle set to btsUltraFlat.

btsOffice11

A button has an Office 2003 style. It appears flat without borders and is highlighted when the mouse cursor is positioned over it.

The following images demonstrate the TcxButtonEdit control with BorderStyle set to ebs3D and ButtonStyle set to btsOffice11.

See Also