PowerTools SPREAD for Windows Forms 8.0J
AcceptsArrowKeys プロパティ (InputManCellTypeBase)


編集コントロールによる方向キーの処理方法を取得または設定します。
構文
'Declaration
 
Public Property AcceptsArrowKeys As AcceptsArrowKeys
'使用法
 
Dim instance As InputManCellTypeBase
Dim value As AcceptsArrowKeys
 
instance.AcceptsArrowKeys = value
 
value = instance.AcceptsArrowKeys
public AcceptsArrowKeys AcceptsArrowKeys {get; set;}
次のサンプルコードは、AcceptsArrowKeys プロパティを使用します。
GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType inputcell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType();
inputcell1.AcceptsArrowKeys = FarPoint.Win.SuperEdit.AcceptsArrowKeys.AllArrows;            
inputcell1.DisplayAlignment = GrapeCity.Win.Spread.InputMan.CellType.DisplayAlignment.Distributed;
AutoCompleteStringCollection acsc = new AutoCompleteStringCollection();
acsc.AddRange(new string[] { "One", "Two", "Three", "Four" });
inputcell1.AutoCompleteCustomSource  = acsc;
inputcell1.AutoCompleteMode = AutoCompleteMode.Suggest;
inputcell1.AutoCompleteSource = AutoCompleteSource.CustomSource;
fpSpread1.Sheets[0].Cells[1, 1].CellType = inputcell1;
Dim inputcell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType
inputcell1.AcceptsArrowKeys = FarPoint.Win.SuperEdit.AcceptsArrowKeys.AllArrows
inputcell1.DisplayAlignment = GrapeCity.Win.Spread.InputMan.CellType.DisplayAlignment.Distributed
Dim acsc As New AutoCompleteStringCollection
acsc.AddRange(New String() {"One", "Two", "Three", "Four"})
inputcell1.AutoCompleteCustomSource = acsc
inputcell1.AutoCompleteMode = AutoCompleteMode.Suggest
inputcell1.AutoCompleteSource = AutoCompleteSource.CustomSource
FpSpread1.Sheets(0).Cells(1, 1).CellType = inputcell1
参照

InputManCellTypeBase クラス
InputManCellTypeBase メンバ

 

 


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