MESCIUS SPREAD for Windows Forms 15.0J
ColumnCount プロパティ (SheetViewEventArgs)
使用例 

列数を取得します。
構文
'宣言
 
Public ReadOnly Property ColumnCount As Integer
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 メンバ

 

 


© MESCIUS inc. All rights reserved.