GrapeCity SPREAD for Windows Forms 11.0J
ScrollingContentRowNumberPolicy 列挙体


スクロール内容に現在の行番号を表示する方法を指定します。
構文
'Declaration
 
Public Enum ScrollingContentRowNumberPolicy 
   Inherits System.Enum
'使用法
 
Dim instance As ScrollingContentRowNumberPolicy
public enum ScrollingContentRowNumberPolicy : System.Enum 
メンバ
メンバ説明
Firstスクロール内容の先頭に現在の行番号を表示します。
Lastスクロール内容の最後に現在の行番号を表示します。
Neverスクロール内容に現在の行番号を表示しません。
次のサンプルコードは、ScrollingContentRowNumberPolicy列挙体を使用します。
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()
継承階層

System.Object
   System.ValueType
      System.Enum
         FarPoint.Win.Spread.ScrollingContentRowNumberPolicy

参照

FarPoint.Win.Spread 名前空間

 

 


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