PowerTools MultiRow for Windows Forms 8.0J
CreateGridTemplateForColumnMode(Int32,Int32,Int32,Int32) メソッド

行数を示す System.Int32。
Row セクション内のセルの幅を示す System.Int32。
Row セクション内のセルの高さを示す System.Int32。
行の最大の高さを示す System.Int32。
指定した列数、セルのサイズ、および行の最大の高さを使用して、標準の左から右へのレイアウトの行列 Template を作成します。
構文
Public Overloads Shared Function CreateGridTemplateForColumnMode( _
   ByVal rowCount As Integer, _
   ByVal cellWidth As Integer, _
   ByVal cellHeight As Integer, _
   ByVal rowsMaxHeight As Integer _
) As Template
public static Template CreateGridTemplateForColumnMode( 
   int rowCount,
   int cellWidth,
   int cellHeight,
   int rowsMaxHeight
)

パラメータ

rowCount
行数を示す System.Int32。
cellWidth
Row セクション内のセルの幅を示す System.Int32。
cellHeight
Row セクション内のセルの高さを示す System.Int32。
rowsMaxHeight
行の最大の高さを示す System.Int32。

戻り値の型

標準の左から右へのレイアウトの行列 Template を表す Template。
例外
例外解説
System.ArgumentOutOfRangeException

rowCount が 0 以下です。

または

cellWidth が 0 以下です。

または

cellHeight が 0 以下です。

または

rowsMaxHeight が 0 以下です。

解説
CreateGridTemplateForColumnMode(Int32,Int32,Int32) メソッドに基づき、行の最大の高さを指定できます。すべての行の高さの合計が rowsMaxHeight より大きい場合は、最初の行に配置できないセルが次の行に移されます。
参照

Template クラス
Template メンバ
オーバーロード一覧
CreateGridTemplateForColumnMode(Int32) メソッド
CreateGridTemplateForColumnMode(Int32,Int32,Int32) メソッド
CreateGridTemplateForColumnMode(Int32,Int32,Int32,Int32,AutoGenerateGridTemplateStyles) メソッド
CreateGridTemplateForColumnMode(Int32,Int32,Int32,Int32,AutoGenerateGridTemplateStyles,Int32) メソッド
CreateGridTemplateForColumnMode(IEnumerable<Cell>) メソッド
CreateGridTemplateForColumnMode(IEnumerable<Cell>,Int32) メソッド
CreateGridTemplateForColumnMode(IEnumerable<Cell>,Int32,AutoGenerateGridTemplateStyles) メソッド
CreateGridTemplateForColumnMode(IEnumerable<Cell>,Int32,AutoGenerateGridTemplateStyles,Int32) メソッド

 

 


© 2008-2015 GrapeCity inc. All rights reserved.