Defines the control's border style.
Get
| C# | SftButtonBorderStyleConstants Style = object.BorderStyle; |
| VB.NET | Style = object.BorderStyle As SftButtonBorderStyleConstants |
| C++ | enum SftButtonBorderStyleConstants Style = object->BorderStyle; enum SftButtonBorderStyleConstants Style = object->GetBorderStyle(); |
| C | HRESULT object->get_BorderStyle(enum SftButtonBorderStyleConstants* Style); |
| VB | Style = object.BorderStyle As SftButtonBorderStyleConstants |
Put
| C# | SftButtonBorderStyleConstants object.BorderStyle = Style; |
| VB.NET | object.BorderStyle = Style As SftButtonBorderStyleConstants |
| C++ | enum SftButtonBorderStyleConstants object->BorderStyle = Style; void object->PutBorderStyle(enum SftButtonBorderStyleConstants Style); |
| C | HRESULT object->put_BorderStyle(enum SftButtonBorderStyleConstants Style); |
| VB | object.BorderStyle = Style As SftButtonBorderStyleConstants |
object
Style
Defines the control's border style.
| Name | Value | Description |
|---|---|---|
| borderSftButtonThin | 0 | Thin - Displays a thin border around the control. |
| borderSftButtonStandard | 1 | Standard - Displays a regular border around the control, in appearance similar to the standard Windows button control. |
| borderSftButtonPixel1 | 2 | Pixel1 - Displays a single pixel border around the control. This value has no effect if Windows themes are used. |
The BorderStyle property defines the control's border style.
The display of the border may be further controlled using the BorderAlways property.
If the ButtonStyle property is set to styleSftButtonNone, this property has no effect and is ignored. The border is never displayed.
See Also SftButton Object | Object Hierarchy