| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim color As Color Dim instance As New ComplexBorderSide(color)  | |
Parameters
- color
 - Color for the border side
 
Any border side that is created with the CreateBorderSide(color) constructor has the following properties:
- color specified
 - default width of 1 pixel
 - default dash style of solid
 - empty dash pattern
 - empty compound array
 
This example creates a red border.
             
            
            | C# |  Copy Code | 
|---|---|
FarPoint.Win.ComplexBorderSide side = new FarPoint.Win.ComplexBorderSide(Color.Red); FarPoint.Win.ComplexBorder bord = new FarPoint.Win.ComplexBorder(side);  | |
| Visual Basic |  Copy Code | 
|---|---|
Dim side As New FarPoint.Win.ComplexBorderSide(Color.Red) Dim bord As New FarPoint.Win.ComplexBorder(side)  | |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8