Spread Windows Forms 9.0 Product Documentation
BorderCollapse Enumeration
Example Example 


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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

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

User-Task Documentation

Customizing Cell Borders

 

 


Copyright © GrapeCity, inc. All rights reserved.