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

入力可能最大文字数を取得または設定します。
構文
'宣言
 
Public Property MaximumLength As Integer
public int MaximumLength {get; set;}

プロパティ値

最大文字数を表す Integer
使用例
FarPoint.Win.Spread.CellType.GeneralEditor ge = (FarPoint.Win.Spread.CellType.GeneralEditor)fpSpread1.EditingControl; 
ge.BorderStyle = BorderStyle.Fixed3D; 
ge.MaximumLength = 40;
ge.Multiline = true;
ge.WordWrap = true;

Dim ge As FarPoint.Win.Spread.CellType.GeneralEditor = CType(FpSpread1.EditingControl, FarPoint.Win.Spread.CellType.GeneralEditor)
ge.BorderStyle = BorderStyle.Fixed3D
ge.MaximumLength = 40
ge.Multiline = True
ge.WordWrap = True
参照

GeneralEditor クラス
GeneralEditor メンバ

 

 


© MESCIUS inc. All rights reserved.