Spread Windows Forms 8.0 Product Documentation
ComplexBorderSide Constructor(Color)
Example 


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

Parameters

color
Color for the border side
Remarks

Any border side that is created with the CreateBorderSide(color) constructor has the following properties:

Example
This example creates a red border.
FarPoint.Win.ComplexBorderSide side = new FarPoint.Win.ComplexBorderSide(Color.Red);
FarPoint.Win.ComplexBorder bord = new FarPoint.Win.ComplexBorder(side);
Dim side As New FarPoint.Win.ComplexBorderSide(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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

ComplexBorderSide Class
ComplexBorderSide Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.