Spread Windows Forms 12.0 Product Documentation
ComplexBorderSide Constructor(Color)
Example 


FarPoint.Win Assembly > FarPoint.Win Namespace > ComplexBorderSide Class > ComplexBorderSide Constructor : ComplexBorderSide Constructor(Color)
Color for the border side
Creates one side of a four-sided, complex border with the specified color.
Syntax
'Declaration
 
Public Function New( _
   ByVal color As Color _
)
'Usage
 
Dim color As Color
 
Dim instance As New ComplexBorderSide(color)
public ComplexBorderSide( 
   Color color
)

Parameters

color
Color for the border side
Remarks

Any border side that is created with the CreateBorderSide(color) constructor has the following properties:

Example
This example creates a red border.
FarPoint.Win.ComplexBorderSide side = new FarPoint.Win.ComplexBorderSide(Color.Red);
FarPoint.Win.ComplexBorder bord = new FarPoint.Win.ComplexBorder(side);
Dim side As New FarPoint.Win.ComplexBorderSide(Color.Red)
Dim bord As New FarPoint.Win.ComplexBorder(side)
See Also

Reference

ComplexBorderSide Class
ComplexBorderSide Members
Overload List