Version

BorderStyle Property (UltraGroupBox)

Gets/sets the type of border the content area displays.
Syntax
'Declaration
 
Public Property BorderStyle As GroupBoxBorderStyle
public GroupBoxBorderStyle BorderStyle {get; set;}
Remarks

This property allows you to specify the border displayed around the area of the control which contains the hosted controls. The default value of this property is 'Default' and is resolved based on the ViewStyle property setting.

Example
The following snippet shows how to alter the border which surrounds the content area of the control. The "content area" is the portion of the control where the child controls are located.

Imports Infragistics.Win.Misc

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    ' Set the border of the content area to have two adjacent parallel lines 
    ' with 90 degree corners which frame the entire content area.
    Me.UltraGroupBox1.BorderStyle = GroupBoxBorderStyle.RectangularDoubleSolid
End Sub
using Infragistics.Win.Misc;

private void Form1_Load(object sender, System.EventArgs e)
{
	// Set the border of the content area to have two adjacent parallel lines 
	// with 90 degree corners which frame the entire content area.
	this.ultraGroupBox1.BorderStyle = GroupBoxBorderStyle.RectangularDoubleSolid;
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also