Spread Windows Forms 11.0 Product Documentation
Thickness Property (BevelBorder)
Example 


FarPoint.Win Assembly > FarPoint.Win Namespace > BevelBorder Class : Thickness Property
Gets the thickness of the border.
Syntax
'Declaration
 
Public ReadOnly Property Thickness As Integer
'Usage
 
Dim instance As BevelBorder
Dim value As Integer
 
value = instance.Thickness
public int Thickness {get;}

Property Value

Integer number of pixels in the thickness of the border
Example
This example creates a bevel border.
FarPoint.Win.BevelBorder bevel = new FarPoint.Win.BevelBorder(BevelBorderType.Lowered, Color.Blue, Color.LightBlue, (int)1.5, true, false, true, false);
int i = bevel.Thickness;
MessageBox.Show("The thickness of the border is " + i.ToString() + "pixels.");
Dim bevel As New FarPoint.Win.BevelBorder(BevelBorderType.Lowered, Color.Blue, Color.LightBlue, 1.5, True, False, True, False)
Dim i As Integer = bevel.Thickness
MessageBox.Show("The thickness of the border is " + i.ToString() + " pixels.")
See Also

Reference

BevelBorder Class
BevelBorder Members