Spread Windows Forms 9.0 Product Documentation
Columns Property (SheetView)
Example 


Gets a Columns object for the columns in the data area of the sheet.
Syntax
'Declaration
 
Public ReadOnly Property Columns As Columns
'Usage
 
Dim instance As SheetView
Dim value As Columns
 
value = instance.Columns
public Columns Columns {get;}

Property Value

Columns object containing the collection of columns
Remarks
This property returns the columns in the sheet, but not the columns in the row header.
Example
This example sets a border around several cells in the columns and rows.
fpSpread1.ActiveSheet.Columns[0, 1].Border = new FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Lowered, Color.LightBlue,
Color.Blue, 1);
fpSpread1.ActiveSheet.Rows[0, 3].Border = new FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Lowered, Color.LightBlue,
Color.Blue, 1);
FpSpread1.ActiveSheet.Columns(0, 1).Border = New FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Lowered, Color.LightBlue,
Color.Blue, 1)
FpSpread1.ActiveSheet.Rows(0, 3).Border = New FarPoint.Win.BevelBorder(FarPoint.Win.BevelBorderType.Lowered, Color.LightBlue,
Color.Blue, 1)
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

SheetView Class
SheetView Members
Columns Class

User-Task Documentation

Customizing the Appearance of Rows or Columns
Customizing Row or Column Interaction

 

 


Copyright © GrapeCity, inc. All rights reserved.