PowerTools SPREAD for Windows Forms 10.0J
ColumnSplitBoxAlignment プロパティ (FpSpread)


このコンポーネントで、列分割ボックスを水平スクロールバーに対してどこに配置するかを取得または設定します。
構文
'Declaration
 
Public Property ColumnSplitBoxAlignment As SplitBoxAlignment
'使用法
 
Dim instance As FpSpread
Dim value As SplitBoxAlignment
 
instance.ColumnSplitBoxAlignment = value
 
value = instance.ColumnSplitBoxAlignment
public SplitBoxAlignment ColumnSplitBoxAlignment {get; set;}

プロパティ値

配置を決定するSplitBoxAlignment設定
次のサンプルコードは、列および行分割ボックスの配置を設定します。
FarPoint.Win.Spread.FpSpread fpSpread1 = new FarPoint.Win.Spread.FpSpread();
FarPoint.Win.Spread.SheetView shv = new FarPoint.Win.Spread.SheetView();
fpSpread1.Location = new Point(10, 10);
fpSpread1.Height = 200;
fpSpread1.Width = 400;
Controls.Add(fpSpread1);
fpSpread1.Sheets.Add(shv);
fpSpread1.ColumnSplitBoxAlignment = FarPoint.Win.Spread.SplitBoxAlignment.Leading;
fpSpread1.RowSplitBoxAlignment = FarPoint.Win.Spread.SplitBoxAlignment.Trailing;
Dim fpSpread1 As New FarPoint.Win.Spread.FpSpread()
Dim shv As New FarPoint.Win.Spread.SheetView()
fpSpread1.Location = New Point(10, 10)
fpSpread1.Height = 200
fpSpread1.Width = 400
Controls.Add(fpSpread1)
fpSpread1.Sheets.Add(shv)
fpSpread1.ColumnSplitBoxAlignment = FarPoint.Win.Spread.SplitBoxAlignment.Leading
fpSpread1.RowSplitBoxAlignment = FarPoint.Win.Spread.SplitBoxAlignment.Trailing
参照

FpSpread クラス
FpSpread メンバ
SplitBoxAlignment 列挙体

開発者ガイド

分割ボックス

 

 


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