Spread Windows Forms 11.0 Product Documentation
ComplexBorder Constructor(ComplexBorderSide)
Example 


FarPoint.Win Assembly > FarPoint.Win Namespace > ComplexBorder Class > ComplexBorder Constructor : ComplexBorder Constructor(ComplexBorderSide)
ComplexBorderSide object to use for sides
Creates a complex border with the specified ComplexBorderSide object to use for all four sides.
Syntax
'Declaration
 
Public Function New( _
   ByVal sides As ComplexBorderSide _
)
'Usage
 
Dim sides As ComplexBorderSide
 
Dim instance As New ComplexBorder(sides)
public ComplexBorder( 
   ComplexBorderSide sides
)

Parameters

sides
ComplexBorderSide object to use for sides
Example
This example creates one side of a four-sided, complex border with default color SystemColors.WindowFrame, default width of 1, default dash style of Solid, and empty dash pattern and compound array.
FarPoint.Win.ComplexBorderSide side = new FarPoint.Win.ComplexBorderSide();
FarPoint.Win.ComplexBorder bord = new FarPoint.Win.ComplexBorder(side);
Dim side As New FarPoint.Win.ComplexBorderSide
Dim bord As New FarPoint.Win.ComplexBorder(side)
See Also

Reference

ComplexBorder Class
ComplexBorder Members
Overload List