System.Windows.Forms.Label.BorderStyle Property

Gets or sets the border style for the control.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

You can use this property to add a border to the control. This property is typically used to differentiate a System.Windows.Forms.Label that labels another control from a System.Windows.Forms.Label that displays the status of a process in an application.

Requirements

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