PowerTools SPREAD for Windows Forms 10.0J
ReadOnly プロパティ (GeneralEditor)


セルが読み取り専用(編集できない)かどうかを取得または設定します。
構文
'Declaration
 
Public Property ReadOnly As Boolean
'使用法
 
Dim instance As GeneralEditor
Dim value As Boolean
 
instance.ReadOnly = value
 
value = instance.ReadOnly
public bool ReadOnly {get; set;}

プロパティ値

Boolean:読み取り専用の場合は True、それ以外の場合は False
FarPoint.Win.Spread.CellType.GeneralEditor ge = (FarPoint.Win.Spread.CellType.GeneralEditor)fpSpread1.EditingControl; 
ge.BorderStyle = BorderStyle.Fixed3D; 
ge.ReadOnly = true;
Dim ge As FarPoint.Win.Spread.CellType.GeneralEditor = CType(FpSpread1.EditingControl, FarPoint.Win.Spread.CellType.GeneralEditor)
ge.BorderStyle = BorderStyle.Fixed3D
ge.ReadOnly = True
参照

GeneralEditor クラス
GeneralEditor メンバ

 

 


© 2004-2017, GrapeCity inc. All rights reserved.