SystemMonitor.BorderStyle property

Retrieves or sets the border style of the control.

This property is read-only.

Syntax

Property BorderStyle As Long

Property value

Border style of the control.

You can set this property to one of the following values.

Value Meaning
System.Windows.Forms.FormBorderStyle.VbBSNone
0
No border. This is the default value.
System.Windows.Forms.FormBorderStyle.VbFixedSingle
1
Fixed, single border.

Exceptions

Exception type Condition
System.ArgumentException The specified border style is not valid.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
DLL
Sysmon.ocx

See also

SystemMonitor