|
|
|
SftBoxDropDown.ButtonStyle Property |
Defines the appearance of the drop down button.
Syntax
VB.NET |
Style = object.ButtonStyle As SftBoxDropDownButtonStyleConstants |
||
VB |
Style = object.ButtonStyle As SftBoxDropDownButtonStyleConstants |
||
C#.NET |
SftBoxDropDownButtonStyleConstants Style = object.ButtonStyle; |
||
VC++ |
enum SftBoxDropDownButtonStyleConstants Style = object->ButtonStyle;
|
||
C |
HRESULT object->get_ButtonStyle(enum SftBoxDropDownButtonStyleConstants* Style); |
||
Delphi |
Style := object.ButtonStyle : TOleEnum; |
||
VB.NET |
object.ButtonStyle = Style As SftBoxDropDownButtonStyleConstants |
||
VB |
object.ButtonStyle = Style As SftBoxDropDownButtonStyleConstants |
||
C#.NET |
SftBoxDropDownButtonStyleConstants object.ButtonStyle = Style; |
||
VC++ |
enum SftBoxDropDownButtonStyleConstants object->ButtonStyle = Style;
|
||
C |
HRESULT object->put_ButtonStyle(enum SftBoxDropDownButtonStyleConstants Style); |
||
Delphi |
object.ButtonStyle := Style : TOleEnum; |
object
A SftBoxDropDown object.
Style
Defines the appearance of the drop down button.
Style |
Value |
Description |
0 |
The button style appropriate for the Windows version is used. If Windows themes are available, the drop down button will be rendered using the defined theme's style. constSftBoxDDStyleDefault is the preferred and default setting. If a drop down button image has been defined (DropDown.Image property), the button is rendered using the style constSftBoxDDStyleClassic instead. |
|
1 |
The drop down button is painted by Windows, using a style as introduced originally by Windows 95/Windows 2000. If Windows themes are available, these are not honored. If a drop down button image has been defined (DropDown.Image property), the button is rendered using the style constSftBoxDDStyleClassic instead. |
|
2 |
This style is rendered by SftBox/OCX and never honors Windows themes. The SftBoxDropDown.HoverButton property has no effect if the button is rendered using this style. |
|
3 |
The drop down button is located next to the combo box control and is only visible when the control has the input focus or when the mouse cursor is located above the control. It is not visible at design-time. When using this style, the DropDown.Image property must define an image for the drop down button, otherwise an empty button is displayed. If Windows themes are available, the drop down button will be rendered using the defined theme's style. |
|
4 |
The drop down button is located next to the combo box control and is only visible when the control has the input focus or when the mouse cursor is located above the control. It is not visible at design-time. When using this style, the DropDown.Image property must define an image for the drop down button, otherwise an empty button is displayed. Windows themes are never used, even if available. |
Comments
The ButtonStyle property defines the appearance of the drop down button.