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


このコンポーネントで、行分割ボックスを垂直スクロールバーに対してどこに配置するかを取得または設定します。
構文
'Declaration
 
Public Property RowSplitBoxAlignment As SplitBoxAlignment
'使用法
 
Dim instance As FpSpread
Dim value As SplitBoxAlignment
 
instance.RowSplitBoxAlignment = value
 
value = instance.RowSplitBoxAlignment
public SplitBoxAlignment RowSplitBoxAlignment {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.