Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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