GrapeCity SPREAD for Windows Forms 11.0J
MaxHeight プロパティ


垂直スクロールチップの最大の高さ(ピクセル単位)を取得または設定します。
構文
'Declaration
 
Public Property MaxHeight As Integer
'使用法
 
Dim instance As ScrollingContentInfo
Dim value As Integer
 
instance.MaxHeight = value
 
value = instance.MaxHeight
public int MaxHeight {get; set;}
次のサンプルコードは、MaxHeightプロパティを設定します。
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;
fpSpread1.Sheets[0].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
FpSpread1.Sheets(0).ScrollingContentInfo = scrollingContentInfo
参照

ScrollingContentInfo クラス
ScrollingContentInfo メンバ

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.