SystemInformation.FrameBorderSize Property

 

Gets the thickness, in pixels, of the resizing border that is drawn around the perimeter of a window that is being drag resized.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

static member FrameBorderSize : Size with get

Property Value

Type: System.Drawing.Size

A Size that indicates the thickness, in pixels, of the width of a vertical resizing border and the height of a horizontal resizing border.

The FrameBorderSize property indicates the width and height of the resizing border for a window.

The Width value of this property is the width of a vertical resizing border. The Height value of this property is the height of a horizontal resizing border.

The following code example lists all properties of the SystemInformation class in a ListBox and displays the current value of the property in a TextBox when a list item selected.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: