Spread Windows Forms 6.0 Product Documentation
Left Property
See Also  Example Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > BevelBorder Class : Left Property


Glossary Item Box

Gets whether the line is drawn on the left edge of the border.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Left As Boolean
Visual Basic (Usage)Copy Code
Dim instance As BevelBorder
Dim value As Boolean
 
value = instance.Left
C# 
public bool Left {get;}

Property Value

Boolean value: true if left side border line is drawn; false otherwise

Example

This example creates a bevel border.
C#Copy Code
FarPoint.Win.BevelBorder bevel = new FarPoint.Win.BevelBorder(BevelBorderType.Lowered, Color.Blue, Color.LightBlue, (int)1.5, true, false, true, false); 
bool b = bevel.Bottom;
bool t = bevel.Top;
bool r = bevel.Right;
bool l = bevel.Left;
if (b && t && r && l) 
{ 
MessageBox.Show("The border covers all the sides"); 
} 
else 
{ 
MessageBox.Show("Some of the sides don't have the border"); 
}
Visual BasicCopy Code
Dim bevel As New FarPoint.Win.BevelBorder(BevelBorderType.Lowered, Color.Blue, Color.LightBlue, 1.5, True, False, True, False)
Dim b As Boolean = bevel.Bottom
Dim t As Boolean = bevel.Top
Dim r As Boolean = bevel.Right
Dim l As Boolean = bevel.Left
If b AndAlso t AndAlso r AndAlso l Then
MessageBox.Show("The border covers all the sides")
Else
MessageBox.Show("Some of the sides don't have the border")
End If

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.