Spread Windows Forms 12.0 Product Documentation
DoubleLineBorder Constructor(Color)
Example 


FarPoint.Win Assembly > FarPoint.Win Namespace > DoubleLineBorder Class > DoubleLineBorder Constructor : DoubleLineBorder Constructor(Color)
Color of the double lines
Creates a double-line border with the specified color and a width of 3.
Syntax
'Declaration
 
Public Function New( _
   ByVal color As Color _
)
'Usage
 
Dim color As Color
 
Dim instance As New DoubleLineBorder(color)
public DoubleLineBorder( 
   Color color
)

Parameters

color
Color of the double lines
Example
This example returns the color of the double lined border.
FarPoint.Win.DoubleLineBorder dbl = new FarPoint.Win.DoubleLineBorder(Color.Yellow);
Color c = dbl.Color;
MessageBox.Show("The color of the border is " + c.ToString() + ".");
Dim dbl As New FarPoint.Win.DoubleLineBorder(Color.Yellow)
Dim c As Color = dbl.Color
MessageBox.Show("The color of the border is " + c.ToString() + ".")
See Also

Reference

DoubleLineBorder Class
DoubleLineBorder Members
Overload List