Spread Windows Forms 9.0 Product Documentation
ComplexBorderSide Constructor(ComplexBorderSideStyle,Color)
Example 


Style of the border side
Color of the border side
Creates one side of a four-sided, complex border with the specified style and color.
Syntax
'Declaration
 
Public Function New( _
   ByVal sideStyle As ComplexBorderSideStyle, _
   ByVal sideColor As Color _
)
'Usage
 
Dim sideStyle As ComplexBorderSideStyle
Dim sideColor As Color
 
Dim instance As New ComplexBorderSide(sideStyle, sideColor)
public ComplexBorderSide( 
   ComplexBorderSideStyle sideStyle,
   Color sideColor
)

Parameters

sideStyle
Style of the border side
sideColor
Color of the border side
Remarks
Any complex border side created with this constructor has the specified style and color.
Example
This example creates one side of a four-sided, complex border with settings equivalent to the specified side style.
FarPoint.Win.ComplexBorderSide side = new FarPoint.Win.ComplexBorderSide(ComplexBorderSideStyle.DoubleLine, Color.Red);
FarPoint.Win.ComplexBorder bord = new FarPoint.Win.ComplexBorder(side);
Dim side As New FarPoint.Win.ComplexBorderSide(ComplexBorderSideStyle.DoubleLine, Color.Red)
Dim bord As New FarPoint.Win.ComplexBorder(side)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

ComplexBorderSide Class
ComplexBorderSide Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.