Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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