System.Windows.Forms.UserControl.BorderStyle Property

Gets or sets the border style of the user control.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)]
[System.ComponentModel.DefaultValue(System.Windows.Forms.BorderStyle.None)]
[System.ComponentModel.Browsable(true)]
public BorderStyle BorderStyle { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the UserControl.BorderStyle property is set to BorderStyle.Fixed3D, the control has a sunken, three-dimensional appearance. To display a flat, thin border, set the System.Windows.Forms.BorderStyle property to BorderStyle.FixedSingle.

Requirements

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