PowerTools SPREAD for ASP.NET 8.0J
Reset メソッド (PagerInfo)

Spreadコンポーネントのページ移動ボタンのプロパティをデフォルト値にリセットします。
構文
'Declaration
 
Public Sub Reset() 
public void Reset()
この例では、5列150行から成るスプレッドシートを作成し、(シートに一度に表示可能な行数を超えた場合の)ページ移動の各プロパティを設定します。
FpSpread1.Pager.Reset(); 
FpSpread1.Columns.Count = 5; 
FpSpread1.Rows.Count = 150; 
FpSpread1.ActiveSheetView.PageSize = 30; 
FpSpread1.Pager.Align = HorizontalAlign.Right; 
FpSpread1.Pager.BackColor = Color.Yellow; 
FpSpread1.Pager.Font.Bold = True; 
FpSpread1.Pager.ForeColor = Color.DarkBlue; 
FpSpread1.Pager.Position = FarPoint.Web.Spread.PagerPosition.Top; 
FpSpread1.Pager.Mode = FarPoint.Web.Spread.PagerMode.Both; 
FpSpread1.Pager.PageCount = 3; 
FpSpread1.Pager.Reset()
FpSpread1.Columns.Count = 5
FpSpread1.Rows.Count = 150
FpSpread1.ActiveSheetView.PageSize = 30
FpSpread1.Pager.Align = HorizontalAlign.Right
FpSpread1.Pager.BackColor = Color.Yellow
FpSpread1.Pager.Font.Bold = True
FpSpread1.Pager.ForeColor = Color.DarkBlue
FpSpread1.Pager.Position = FarPoint.Web.Spread.PagerPosition.Top
FpSpread1.Pager.Mode = FarPoint.Web.Spread.PagerMode.Both
FpSpread1.Pager.PageCount = 3 
参照

PagerInfo クラス
PagerInfo メンバ

 

 


© 2003-2015, GrapeCity inc. All rights reserved.