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

設定された列のインデックスを取得します。
構文
'宣言
 
Public ReadOnly Property Column As Integer
public int Column {get;}

プロパティ値

列のインデックスを表す Integer
使用例
private void fpSpread1_DataColumnConfigure(object sender, FarPoint.Win.Spread.DataColumnConfigureEventArgs e)
    {
    textBox1.Text = "The last column to be configured is " + e.Column.ToString() + " and its header is " +     e.Sheet.Columns[e.Column].Label;
    }
Private Sub FpSpread1_DataColumnConfigure(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.DataColumnConfigureEventArgs)
Handles FpSpread1.DataColumnConfigure
    TextBox1.Text = "The last column to be configured is " & e.Column.ToString() & " and its header is " &     e.Sheet.Columns(e.Column).Label
End Sub
参照

DataColumnConfigureEventArgs クラス
DataColumnConfigureEventArgs メンバ

 

 


© MESCIUS inc. All rights reserved.