BorderStyle (PictureBox)

Returns or sets a value that indicates the border style of the control. The BorderStyle property is read/write at the control's authoring time, and read-only at the control's run time.

Syntax

object.BorderStyle [= enum]

The parts of the BorderStyle property syntax are described in the following table.

Part Description
object An object expression that evaluates to an object.
enum An enumerated value that determines what the border style of the control is, as described in Settings.

Settings

The settings for enum are described in the following table.

Setting Description
0-None No border. This is the default value.
1-Fixed Single A single line is drawn around the control.