MESCIUS SPREAD for Windows Forms 15.0J
ResetRowNumberPolicy メソッド
使用例 

RowNumberPolicyプロパティをデフォルト値にリセットします。
構文
'宣言
 
Public Sub ResetRowNumberPolicy() 
public void ResetRowNumberPolicy()
使用例
次のサンプルコードは、ResetRowNumberPolicyメソッドを使用します。
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 メンバ

 

 


© MESCIUS inc. All rights reserved.