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


color
Color of the double lines

Glossary Item Box

Creates a double-line border with the specified color and a width of 3.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal color As Color _
)
Visual Basic (Usage)Copy Code
Dim color As Color
 
Dim instance As New DoubleLineBorder(color)
C# 
public DoubleLineBorder( 
   Color color
)

Parameters

color
Color of the double lines

Example

This example returns the color of the double lined border.
C#Copy Code
FarPoint.Win.DoubleLineBorder dbl = new FarPoint.Win.DoubleLineBorder(Color.Yellow);
Color c = dbl.Color;
MessageBox.Show("The color of the border is " + c.ToString() + ".");
Visual BasicCopy Code
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() + ".")

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.