SPREAD for ASP.NET 8.0J サンプルコード集
ボタンの表示テキストを設定する

ボタン型セルのTextプロパティに表示するテキストを設定します。

実行例:

ButtonCellType btnCell = new ButtonCellType() { Text = "ボタン" };
FpSpread1.Cells[0, 1].CellType = btnCell;
Dim btnCell As New ButtonCellType() With { .Text = "ボタン" }
FpSpread1.Cells(0, 1).CellType = btnCell

 

 


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