Spread Windows Forms 7.0 Product Documentation
BorderCollapse Enumeration
Example  See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : BorderCollapse Enumeration


Glossary Item Box

Specifies how the borders of adjacent cells are displayed in the view.

Syntax

Visual Basic (Declaration) 
Public Enum BorderCollapse 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As BorderCollapse
C# 
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

C#Copy Code
fpSpread1.BorderCollapse = FarPoint.Win.Spread.BorderCollapse.Separate;
fpSpread1.ActiveSheet.Cells[0, 0, 3, 3].Border = new FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Raised);
Visual BasicCopy Code
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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.