'Declaration Public Property BorderStyle As BorderStyle
'Usage Dim instance As Border Dim value As BorderStyle instance.BorderStyle = value value = instance.BorderStyle
public BorderStyle BorderStyle {get; set;}
'Declaration Public Property BorderStyle As BorderStyle
'Usage Dim instance As Border Dim value As BorderStyle instance.BorderStyle = value value = instance.BorderStyle
public BorderStyle BorderStyle {get; set;}
For more information on border styles, see the BorderStyle enumeration in the Microsoft .NET Framework Reference.
If you want to set the style of each side of the object border, use the BorderStyleBottom, BorderStyleLeft, BorderStyleRight, and BorderStyleTop properties.
To check if other border style properties have been set, use the IsDefined method.
FarPoint.Web.Spread.Border b = new FarPoint.Web.Spread.Border(); bool ie; FarPoint.Web.Spread.Cell c; b.BorderColor = Color.Yellow; b.BorderSize = 3; b.BorderStyle = BorderStyle.Inset; c = FpSpread1.ActiveSheetView.Cells[0, 0]; c.Border = b; ie = b.IsEmpty(); TextBox1.Text = ie.ToString();
Dim b As New FarPoint.Web.Spread.Border Dim ie As Boolean Dim c As FarPoint.Web.Spread.Cell b.BorderColor = Color.Yellow b.BorderSize = 3 b.BorderStyle = BorderStyle.Inset c = FpSpread1.ActiveSheetView.Cells(0, 0) c.Border = b ie = b.IsEmpty() TextBox1.Text = ie.ToString()