System.Windows.Forms.Panel.BorderStyle Property

Indicates the border style for the control.

Syntax

[System.Runtime.InteropServices.DispId(-504)]
[System.ComponentModel.DefaultValue(System.Windows.Forms.BorderStyle.None)]
public BorderStyle BorderStyle { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

By default, the System.Windows.Forms.Panel control is displayed without a border. You can use this property to distinguish the boundaries of the System.Windows.Forms.Panel control from other areas on the form.

Requirements

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