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


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)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

CompoundBorder Class
CompoundBorder Members
Overload List
Outside Property
Inside Property

 

 


Copyright © GrapeCity, inc. All rights reserved.