PowerTools SPREAD for Windows Forms 10.0J
ResetMaxHeight メソッド


MaxHeightプロパティをデフォルト値にリセットします。
構文
'Declaration
 
Public Sub ResetMaxHeight() 
'使用法
 
Dim instance As ScrollingContentInfo
 
instance.ResetMaxHeight()
public void ResetMaxHeight()
次のサンプルコードは、ResetMaxHeightメソッドを使用します。
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;

scrollingContentInfo.ResetMaxHeight();
scrollingContentInfo.ResetRowNumberPolicy();
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.ResetMaxHeight()
scrollingContentInfo.ResetRowNumberPolicy()
参照

ScrollingContentInfo クラス
ScrollingContentInfo メンバ

 

 


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