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


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetViewEventArgs Class : ColumnCount Property
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
See Also

Reference

SheetViewEventArgs Class
SheetViewEventArgs Members