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


sides
ComplexBorderSide object to use for sides

Glossary Item Box

Creates a complex border with the specified ComplexBorderSide object to use for all four sides.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal sides As ComplexBorderSide _
)
Visual Basic (Usage)Copy Code
Dim sides As ComplexBorderSide
 
Dim instance As New ComplexBorder(sides)
C# 
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.
C#Copy Code
FarPoint.Win.ComplexBorderSide side = new FarPoint.Win.ComplexBorderSide();
FarPoint.Win.ComplexBorder bord = new FarPoint.Win.ComplexBorder(side);
Visual BasicCopy Code
Dim side As New FarPoint.Win.ComplexBorderSide
Dim bord As New FarPoint.Win.ComplexBorder(side)

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.