Spread Windows Forms 12.0 Product Documentation
CompoundBorder Constructor(IBorder,IBorder)
Example 


FarPoint.Win Assembly > FarPoint.Win Namespace > CompoundBorder Class > CompoundBorder Constructor : CompoundBorder Constructor(IBorder,IBorder)
Outside border
Inside border
Creates a compound border with the specified inside and outside borders.
Syntax
'Declaration
 
Public Function New( _
   ByVal outside As IBorder, _
   ByVal inside As IBorder _
)
'Usage
 
Dim outside As IBorder
Dim inside As IBorder
 
Dim instance As New CompoundBorder(outside, inside)
public CompoundBorder( 
   IBorder outside,
   IBorder inside
)

Parameters

outside
Outside border
inside
Inside border
Example
This example creates a compound border.
FarPoint.Win.LineBorder lb = new FarPoint.Win.LineBorder(Color.DarkBlue, 2, true, false, true, false); 
FarPoint.Win.LineBorder tb = new FarPoint.Win.LineBorder(Color.LightBlue, 1, false, true, false, true); 
FarPoint.Win.CompoundBorder cb = new FarPoint.Win.CompoundBorder(lb, tb);
Dim lb As New FarPoint.Win.LineBorder(Color.DarkBlue, 2, True, False, True, False)
Dim tb As New FarPoint.Win.LineBorder(Color.LightBlue, 1, False, True, False, True)
Dim cb As New FarPoint.Win.CompoundBorder(lb, tb)
See Also

Reference

CompoundBorder Class
CompoundBorder Members
Overload List
Outside Property
Inside Property