MESCIUS SPREAD for Windows Forms 15.0J
ScrollingContentInfo プロパティ
使用例 

シートの垂直スクロールチップの情報を取得または設定します。
構文
'宣言
 
Public Property ScrollingContentInfo As ScrollingContentInfo
public ScrollingContentInfo ScrollingContentInfo {get; set;}
使用例
次のサンプルコードは、ScrollingContentInfoプロパティを設定します。
fpSpread1.ScrollTipPolicy = FarPoint.Win.Spread.ScrollTipPolicy.Both;
FarPoint.Win.Spread.ScrollingContentInfo scrollingContentInfo = new FarPoint.Win.Spread.ScrollingContentInfo();
scrollingContentInfo.ColumnIndices = "0,2";
scrollingContentInfo.MaxHeight = 100;
scrollingContentInfo.RowNumberPolicy = FarPoint.Win.Spread.ScrollingContentRowNumberPolicy.Last;
FarPoint.Win.Spread.SheetView sheetView = fpSpread1.ActiveSheet;
sheetView.ScrollingContentInfo = scrollingContentInfo;
FpSpread1.ScrollTipPolicy = FarPoint.Win.Spread.ScrollTipPolicy.Both
Dim scrollingContentInfo As New FarPoint.Win.Spread.ScrollingContentInfo()
scrollingContentInfo.ColumnIndices = "0,2"
scrollingContentInfo.MaxHeight = 100
scrollingContentInfo.RowNumberPolicy = FarPoint.Win.Spread.ScrollingContentRowNumberPolicy.Last
Dim sheetView As FarPoint.Win.Spread.SheetView = FpSpread1.ActiveSheet
sheetView.ScrollingContentInfo = scrollingContentInfo
参照

SheetView クラス
SheetView メンバ

 

 


© MESCIUS inc. All rights reserved.