GrapeCity SPREAD for Windows Forms 11.0J
ResetRowNumberPolicy メソッド


RowNumberPolicyプロパティをデフォルト値にリセットします。
構文
'Declaration
 
Public Sub ResetRowNumberPolicy() 
'使用法
 
Dim instance As ScrollingContentInfo
 
instance.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 メンバ

 

 


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