PowerTools SPREAD for Windows Forms 10.0J
InputScope フィールド


シートスタイルの入力スコープを表します。
構文
'Declaration
 
Public Shared ReadOnly InputScope As SheetStyleProperty
'使用法
 
Dim value As SheetStyleProperty
 
value = SheetStyleProperty.InputScope
public static readonly SheetStyleProperty InputScope
次のサンプルコードは、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())
参照

SheetStyleProperty クラス
SheetStyleProperty メンバ

 

 


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