Defines the width of the drop down button.
Get
| VB.NET | Style = object.DropDownStyle As SftButtonDropDownStyleConstants |
| VB | Style = object.DropDownStyle As SftButtonDropDownStyleConstants |
| C#.NET | SftButtonDropDownStyleConstants Style = object.DropDownStyle; |
| VC++ | enum SftButtonDropDownStyleConstants Style = object->DropDownStyle; enum SftButtonDropDownStyleConstants Style = object->GetDropDownStyle(); |
| C | HRESULT object->get_DropDownStyle(enum SftButtonDropDownStyleConstants* Style); |
Put
| VB.NET | object.DropDownStyle = Style As SftButtonDropDownStyleConstants |
| VB | object.DropDownStyle = Style As SftButtonDropDownStyleConstants |
| C#.NET | SftButtonDropDownStyleConstants object.DropDownStyle = Style; |
| VC++ | enum SftButtonDropDownStyleConstants object->DropDownStyle = Style; void object->PutDropDownStyle(enum SftButtonDropDownStyleConstants Style); |
| C | HRESULT object->put_DropDownStyle(enum SftButtonDropDownStyleConstants Style); |
object
Style
Defines the width of the drop down button.
| Name | Value | Description |
|---|---|---|
| dropdownstyleSftButtonStandard | 0 | Standard - The width of the drop down button is equivalent to the width of a vertical scroll bar button. |
| dropdownstyleSftButtonNarrow1 | 1 | Narrow1 - The width of the drop down button is 3/4 the width of a vertical scroll bar button. |
| dropdownstyleSftButtonNarrow2 | 2 | Narrow2 - The width of the drop down button is 2/3 the width of a vertical scroll bar button. |
| dropdownstyleSftButtonNarrow3 | 3 | Narrow3 - The width of the drop down button is 1/2 the width of a vertical scroll bar button. |
| dropdownstyleSftButtonWide1 | 4 | Wide1 - The width of the drop down button is 50% wider than a vertical scroll bar button. |
The DropDownStyle property defines the width of the drop down button.
The ButtonStyle property defines whether the drop down button is displayed.
See Also SftButton Object | Object Hierarchy