Spread Windows Forms 7.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 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.