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

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

パラメータ

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

戻り値の型

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

rowCount が 0 以下です。

または

cellWidth が 0 以下です。

または

cellHeight が 0 以下です。

解説
CreateGridTemplateForColumnMode(Int32) メソッドに基づき、cellWidth と cellHeight を使用して既定の TextBoxCell の初期サイズを変更できます。このサイズは、ColumnHeaderCell のサイズと RowHeaderCell の幅にも適用されます。
参照

Template クラス
Template メンバ
オーバーロード一覧
CreateGridTemplateForColumnMode(Int32) メソッド
CreateGridTemplateForColumnMode(Int32,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.