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

行数を示す System.Int32。
Row セクション内のセルの幅を示す System.Int32。
Row セクション内のセルの高さを示す System.Int32。
行の最大の高さを示す System.Int32。
テンプレート内に生成する要素を示す AutoGenerateGridTemplateStyles 値の 1 つ。
行ヘッダの高さを示す System.Int32。
指定した列数、セルのサイズ、列の最大幅、テンプレートスタイル、および行ヘッダの幅を使用して、標準の左から右へのレイアウトの行列 Template を作成します。
構文
Public Overloads Shared Function CreateGridTemplateForColumnMode( _
   ByVal rowCount As Integer, _
   ByVal cellWidth As Integer, _
   ByVal cellHeight As Integer, _
   ByVal rowsMaxHeight As Integer, _
   ByVal autoGeneratorGridTemplateStyles As AutoGenerateGridTemplateStyles, _
   ByVal rowHeaderCellHeight As Integer _
) As Template

パラメータ

rowCount
行数を示す System.Int32。
cellWidth
Row セクション内のセルの幅を示す System.Int32。
cellHeight
Row セクション内のセルの高さを示す System.Int32。
rowsMaxHeight
行の最大の高さを示す System.Int32。
autoGeneratorGridTemplateStyles
テンプレート内に生成する要素を示す AutoGenerateGridTemplateStyles 値の 1 つ。
rowHeaderCellHeight
行ヘッダの高さを示す System.Int32。

戻り値の型

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

rowCount が 0 以下です。

または

cellWidth が 0 以下です。

または

cellHeight が 0 以下です。

または

rowsMaxHeight が 0 以下です。

または

rowHeaderCellHeight が 0 以下です。

System.ComponentModel.InvalidEnumArgumentExceptionautoGeneratorGridTemplateStyles 値が有効な AutoGenerateGridTemplateStyles 値ではありません。
解説
CreateGridTemplateForColumnMode(Int32,Int32,Int32,Int32,AutoGenerateGridTemplateStyles) メソッドに基づき、CornerHeaderCell と RowHeaderCell の高さを rowHeaderCellHeight によって変更できます。
参照

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