GrapeCity SPREAD for Windows Forms 11.0J
InputScope プロパティ (StyleInfo)


セルスタイルのInputScopeを取得または設定します。
構文
'Declaration
 
Public Overridable Property InputScope As InputScopeNameValue
'使用法
 
Dim instance As StyleInfo
Dim value As InputScopeNameValue
 
instance.InputScope = value
 
value = instance.InputScope
public virtual InputScopeNameValue InputScope {get; set;}
次のサンプルコードは、InputScopeプロパティを設定します。
FarPoint.Win.Spread.StyleInfo info = new FarPoint.Win.Spread.StyleInfo();
bool b;
info.BackColor = Color.LightBlue;
info.InputScope = FarPoint.Win.InputScopeNameValue.Number;       
fpSpread1.ActiveSheet.DefaultStyle = info;
b = info.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.InputScope);
listBox1.Items.Add(b.ToString());
Dim info As New FarPoint.Win.Spread.StyleInfo()
Dim b As Boolean
info.BackColor = Color.LightBlue
info.InputScope = FarPoint.Win.InputScopeNameValue.Number
FpSpread1.ActiveSheet.DefaultStyle = info
b = info.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.InputScope)
ListBox1.Items.Add(b.ToString())
参照

StyleInfo クラス
StyleInfo メンバ

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.