'Declaration
Public Property AcceptsCrLf As CrLfMode
'使用法
Dim instance As GcTextBoxCellType
Dim value As CrLfMode
instance.AcceptsCrLf = value
value = instance.AcceptsCrLf
プロパティ値
文字列をコピー、切り取り、および貼り付けるときの CrLf 文字の処理モードを示す
CrLfMode 列挙体。
既定値は
CrLfMode.NoControl です。
次のサンプルコードは、AcceptsCrLf プロパティを使用します。
GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType inputcell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType();
inputcell1.Multiline = true;
inputcell1.AcceptsCrLf = GrapeCity.Win.Spread.InputMan.CellType.CrLfMode.Cut;
fpSpread1.Sheets[0].Cells[1, 1].CellType = inputcell1;
Dim inputcell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType
inputcell1.Multiline = True
inputcell1.AcceptsCrLf = GrapeCity.Win.Spread.InputMan.CellType.CrLfMode.Cut
FpSpread1.Sheets(0).Cells(1, 1).CellType = inputcell1