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


sideStyle
Border style for one side

Glossary Item Box

Creates one side of a four-sided, complex border with settings equivalent to the specified side style.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal sideStyle As ComplexBorderSideStyle _
)
Visual Basic (Usage)Copy Code
Dim sideStyle As ComplexBorderSideStyle
 
Dim instance As New ComplexBorderSide(sideStyle)
C# 
public ComplexBorderSide( 
   ComplexBorderSideStyle sideStyle
)

Parameters

sideStyle
Border style for one side

Remarks

Any complex border side created with this constructor has the specified style.

Example

This example creates one side of a four-sided, complex border with settings equivalent to the specified side style.
C#Copy Code
FarPoint.Win.ComplexBorderSide side = new FarPoint.Win.ComplexBorderSide(ComplexBorderSideStyle.DoubleLine);
FarPoint.Win.ComplexBorder bord = new FarPoint.Win.ComplexBorder(side);
Visual BasicCopy Code
Dim side As New FarPoint.Win.ComplexBorderSide(ComplexBorderSideStyle.DoubleLine)
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.