PowerTools SPREAD for Windows Forms 10.0J
AllowEditorVerticalAlign プロパティ (EditBaseCellType)


エディタの垂直方向の配置を許可するかどうかを取得または設定します。
構文
'Declaration
 
Public Property AllowEditorVerticalAlign As Boolean
'使用法
 
Dim instance As EditBaseCellType
Dim value As Boolean
 
instance.AllowEditorVerticalAlign = value
 
value = instance.AllowEditorVerticalAlign
public bool AllowEditorVerticalAlign {get; set;}
次のサンプルコードは、VerticalScrollbarModeプロパティを設定します。
fpSpread1.Sheets[0].Cells[0, 0].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
fpSpread1.Sheets[0].Cells[0, 0].VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Bottom;
FarPoint.Win.Spread.CellType.TextCellType txt = new FarPoint.Win.Spread.CellType.TextCellType();
txt.AllowEditorVerticalAlign = true;
fpSpread1.Sheets[0].Cells[0, 0].CellType = txt;  
fpSpread1.Sheets[0].Cells[0, 0].Text = "test";
FpSpread1.Sheets(0).Cells(0, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right
FpSpread1.Sheets(0).Cells(0, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Bottom
Dim txt As New FarPoint.Win.Spread.CellType.TextCellType()
txt.AllowEditorVerticalAlign = True
FpSpread1.Sheets(0).Cells(0, 0).CellType = txt;
FpSpread1.Sheets(0).Cells(0, 0).Text = "test"
参照

EditBaseCellType クラス
EditBaseCellType メンバ

 

 


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