PowerTools SPREAD for Windows Forms 8.0J
ColumnCount プロパティ (SheetViewEventArgs)


列数を取得します。
構文
'Declaration
 
Public ReadOnly Property ColumnCount As Integer
'使用法
 
Dim instance As SheetViewEventArgs
Dim value As Integer
 
value = instance.ColumnCount
public int ColumnCount {get;}

プロパティ値

列数を表す Integer
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
参照

SheetViewEventArgs クラス
SheetViewEventArgs メンバ

 

 


© 2004-2015, GrapeCity inc. All rights reserved.