Spread Windows Forms 8.0 Product Documentation > Developer's Guide > Customizing the Sheet Appearance > Customizing the Appearance of the Overall Component > Customizing the Outline of the Component |
You can set the appearance of the outline of the overall component. The following figures show the types of outlines (or border) styles.
Outline (Border) Style | Example |
---|---|
Fixed, three-dimensional (default) | |
Fixed, single-line | |
None |
For more details, refer to the FpSpread.BorderStyle property and the BorderStyle enumeration in the Microsoft .NET Framework.
This way of setting the border is done at design time and uses the Properties window of Visual Studio .NET.
This way of setting the border is done in code and is not seen until run time.
Add a line of code that sets the specific property, the BorderStyle property of the FpSpread class.
This example shows how to set the border to be a single-line border.
C# |
Copy Code
|
---|---|
fpSpread1.BorderStyle = BorderStyle.FixedSingle; |
VB |
Copy Code
|
---|---|
FpSpread1.BorderStyle = BorderStyle.FixedSingle |