Border Settings in Windows Forms Percent TextBox

28 Apr 20211 minute to read

Color and Styles can be applied to the Border of the PercentTextBox control as discussed below.

this.percentTextBox1.Border3DStyle = System.Windows.Forms.Border3DStyle.Etched;
this.percentTextBox1.BorderColor = System.Drawing.Color.Orange;
this.percentTextBox1.BorderSides = System.Windows.Forms.Border3DSide.All;
this.percentTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
Me.percentTextBox1.Border3DStyle = System.Windows.Forms.Border3DStyle.Etched
Me.percentTextBox1.BorderColor = System.Drawing.Color.Orange
Me.percentTextBox1.BorderSides = System.Windows.Forms.Border3DSide.All
Me.percentTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle

Border style

A Sample which demonstrates the Border Settings of PercentTextBox control is available in the below sample installation path.

…\My Documents\Syncfusion\EssentialStudio\Version Number\Windows\Tools.Windows\Samples\Advanced Editor Functions\ActionGroupingDemo