System.Windows.Forms.FormBorderStyle Enumeration

Specifies the border styles for a form.

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public enum FormBorderStyle

Remarks

This enumeration is used by the System.Windows.Forms.Form class. It represents the different styles of the form. The default style is Sizable.

Members

Member NameDescription
Fixed3D

A fixed, three-dimensional border.

FixedDialog

A thick, fixed dialog-style border.

FixedSingle

A fixed, single-line border.

FixedToolWindow

A tool window border that is not resizable. A tool window does not appear in the taskbar or in the window that appears when the user presses ALT+TAB. Although forms that specify FormBorderStyle.FixedToolWindow typically are not shown in the taskbar, you must also ensure that the Form.ShowInTaskbar property is set to false, since its default value is true.

None

No border.

Sizable

A resizable border.

SizableToolWindow

A resizable tool window border. A tool window does not appear in the taskbar or in the window that appears when the user presses ALT+TAB.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0