Spread Windows Forms 11.0 Product Documentation
BorderCollapse Enumeration
Example Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : BorderCollapse Enumeration
Specifies how the borders of adjacent cells are displayed in the view.
Syntax
'Declaration
 
Public Enum BorderCollapse 
   Inherits System.Enum
'Usage
 
Dim instance As BorderCollapse
public enum BorderCollapse : System.Enum 
Members
MemberDescription
CollapseDisplays borders for adjacent cells as collapsed into a single border
SeparateDisplays borders for adjacent cells as separate borders detached from each other
Remarks

For more information about borders, refer to Customizing Cell Borders.

Example
fpSpread1.BorderCollapse = FarPoint.Win.Spread.BorderCollapse.Separate;
fpSpread1.ActiveSheet.Cells[0, 0, 3, 3].Border = new FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Raised);
FpSpread1.BorderCollapse = FarPoint.Win.Spread.BorderCollapse.Separate
FpSpread1.ActiveSheet.Cells(0, 0, 3, 3).Border = New FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Raised)
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Win.Spread.BorderCollapse

See Also

Reference

FarPoint.Win.Spread Namespace
BorderCollapse Property (FpSpread Class)

User-Task Documentation

Customizing Cell Borders