HeaderPane
Main
Hide
Share Link
Print

BorderStyle Property, SftButton Object

Defines the control's border style.

Syntax

Get

C#SftButtonBorderStyleConstants Style = object.BorderStyle;
VB.NETStyle = object.BorderStyle As SftButtonBorderStyleConstants
C++enum SftButtonBorderStyleConstants Style = object->BorderStyle;
enum SftButtonBorderStyleConstants Style = object->GetBorderStyle();
CHRESULT object->get_BorderStyle(enum SftButtonBorderStyleConstants* Style);
VBStyle = object.BorderStyle As SftButtonBorderStyleConstants

Put

C#SftButtonBorderStyleConstants object.BorderStyle = Style;
VB.NETobject.BorderStyle = Style As SftButtonBorderStyleConstants
C++enum SftButtonBorderStyleConstants object->BorderStyle = Style;
void object->PutBorderStyle(enum SftButtonBorderStyleConstants Style);
CHRESULT object->put_BorderStyle(enum SftButtonBorderStyleConstants Style);
VBobject.BorderStyle = Style As SftButtonBorderStyleConstants

object

A SftButton object.

Style

Defines the control's border style.

NameValueDescription
borderSftButtonThin0Thin - Displays a thin border around the control.
borderSftButtonStandard1Standard - Displays a regular border around the control, in appearance similar to the standard Windows button control.
borderSftButtonPixel12Pixel1 - Displays a single pixel border around the control. This value has no effect if Windows themes are used.

Comments

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


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.