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

改行を許可するかどうかを取得または設定します。
構文
'宣言
 
Public Property AcceptsReturn As Boolean
public bool AcceptsReturn {get; set;}

プロパティ値

Boolean:改行を許可する場合は True、それ以外の場合は False
使用例
次のサンプルコードは、標準エディタを使用して編集モードのセルの外観と動作を変更します。
FarPoint.Win.Spread.CellType.GeneralEditor ge = (FarPoint.Win.Spread.CellType.GeneralEditor)fpSpread1.EditingControl; 
ge.BorderStyle = BorderStyle.Fixed3D; 
ge.MarginLeft = 50;
ge.AcceptsReturn = false;
Dim ge As FarPoint.Win.Spread.CellType.GeneralEditor = CType(FpSpread1.EditingControl, FarPoint.Win.Spread.CellType.GeneralEditor)
ge.BorderStyle = BorderStyle.Fixed3D
ge.MarginLeft = 50
ge.AcceptsReturn = False
参照

GeneralEditor クラス
GeneralEditor メンバ

 

 


© MESCIUS inc. All rights reserved.