Spread Windows Forms 6.0 Product Documentation
CompoundBorder Constructor(IBorder,IBorder)
See Also  Example Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > CompoundBorder Class > CompoundBorder Constructor : CompoundBorder Constructor(IBorder,IBorder)


outside
Outside border
inside
Inside border

Glossary Item Box

Creates a compound border with the specified inside and outside borders.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal outside As IBorder, _
   ByVal inside As IBorder _
)
Visual Basic (Usage)Copy Code
Dim outside As IBorder
Dim inside As IBorder
 
Dim instance As New CompoundBorder(outside, inside)
C# 
public CompoundBorder( 
   IBorder outside,
   IBorder inside
)

Parameters

outside
Outside border
inside
Inside border

Example

This example creates a compund border.
C#Copy Code
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);
Visual BasicCopy Code
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.