System.Windows.Forms.TextBoxBase.BorderStyle Property

Gets or sets the border type of the text box control.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

You can use the TextBoxBase.BorderStyle property to create borderless and flat style controls, in addition to the default three-dimensional control.

Note:

The derived class, System.Windows.Forms.RichTextBox, does not support the BorderStyle.FixedSingle style. This style will cause the System.Windows.Forms.BorderStyle to use the BorderStyle.Fixed3D style instead.

Requirements

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