Border Settings in Windows Forms TextBox (TextBoxExt)

The border settings of the TextBoxExt control are discussed in this section.

You can change the color and styles of the border of the TextBoxExt control by using Border3DStyle, BorderColor, BorderSides and BorderStyle properties.

this.textBoxExt1.Border3DStyle = System.Windows.Forms.Border3DStyle.Raised;
this.textBoxExt1.BorderColor = System.Drawing.Color.Orchid
this.textBoxExt1.BorderSides = System.Windows.Forms.Border3DSide.All;
this.textBoxExt1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
Me.textBoxExt1.Border3DStyle = System.Windows.Forms.Border3DStyle.Raised
Me.textBoxExt1.BorderColor = System.Drawing.Color.Orchid
Me.textBoxExt1.BorderSides = System.Windows.Forms.Border3DSide.All
Me.textBoxExt1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle

Change the border style and color in WF TextBoxExt