Spread Windows Forms 9.0 Product Documentation
ColumnCount Property (SheetViewEventArgs)
Example 


Gets the number of columns.
Syntax
'Declaration
 
Public ReadOnly Property ColumnCount As Integer
'Usage
 
Dim instance As SheetViewEventArgs
Dim value As Integer
 
value = instance.ColumnCount
public int ColumnCount {get;}

Property Value

Integer number of columns
Example
private void fpSpread1_Sheet1_CellChanged(object sender, FarPoint.Win.Spread.SheetViewEventArgs e)
{
    MessageBox.Show("Changed " + e.RowCount + " row(s)" + ", " + e.ColumnCount + " column(s)");
}
Private Sub FpSpread1_Sheet1_CellChanged(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.SheetViewEventArgs) Handles
FpSpread1_Sheet1.CellChanged
    MessageBox.Show("Changed " & e.RowCount & " row" & ", " & e.ColumnCount & " column")
End Sub
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

SheetViewEventArgs Class
SheetViewEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.