作成日: 2017/07/26 最終更新日: 2017/07/26
文書種別
使用方法
詳細
CellContentClickイベントなどでCell.EditedFormattedValueプロパティを参照することで、変更後の値を取得することができます。
[Visual Basic]
[C#]
[Visual Basic]
Private Sub GcMultiRow1_CellContentClick(ByVal sender As Object, ByVal e As GrapeCity.Win.MultiRow.CellEventArgs) Handles GcMultiRow1.CellContentClick If TypeOf GcMultiRow1.CurrentCell Is CheckBoxCell Then 'チェックボックス型セルの値を取得します Console.WriteLine(GcMultiRow1.CurrentCell.EditedFormattedValue) End If End Sub
[C#]
private void gcMultiRow1_CellContentClick(object sender, CellEventArgs e)
{
if (gcMultiRow1.CurrentCell is CheckBoxCell)
{
//チェックボックス型セルの値を取得します
Console.WriteLine(gcMultiRow1.CurrentCell.EditedFormattedValue);
}
}
旧文書番号
40598