MESCIUS SPREAD for Windows Forms 17.0J
InputScope プロパティ (StyleInfo)

セルスタイルのInputScopeを取得または設定します。
構文
'Declaration
 
Public Overridable Property InputScope As InputScopeNameValue
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 メンバ

 

 


© MESCIUS inc. All rights reserved.