PowerTools SPREAD for Windows Forms 8.0J
ScrollingContentInfo プロパティ


シートの垂直スクロールチップの情報を取得または設定します。
構文
'Declaration
 
Public Property ScrollingContentInfo As ScrollingContentInfo
'使用法
 
Dim instance As SheetView
Dim value As ScrollingContentInfo
 
instance.ScrollingContentInfo = value
 
value = instance.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 メンバ

 

 


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