GrapeCity.Win.MultiRow Namespace > Template Class > CreateGridTemplateForColumnMode Method : CreateGridTemplateForColumnMode(Int32,Int32,Int32,Int32,AutoGenerateGridTemplateStyles,Int32) Method |
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
Dim rowCount As Integer Dim cellWidth As Integer Dim cellHeight As Integer Dim rowsMaxHeight As Integer Dim autoGeneratorGridTemplateStyles As AutoGenerateGridTemplateStyles Dim rowHeaderCellHeight As Integer Dim value As Template value = Template.CreateGridTemplateForColumnMode(rowCount, cellWidth, cellHeight, rowsMaxHeight, autoGeneratorGridTemplateStyles, rowHeaderCellHeight)
public static Template CreateGridTemplateForColumnMode( int rowCount, int cellWidth, int cellHeight, int rowsMaxHeight, AutoGenerateGridTemplateStyles autoGeneratorGridTemplateStyles, int rowHeaderCellHeight )
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | The rowCount is less than or equal to 0. -or- The cellWidth is less than or equal to 0. -or- The cellHeight is less than or equal to 0. -or- The rowsMaxHeight is less than or equal to 0. -or- The rowHeaderCellHeight is less than or equal to 0. |
System.ComponentModel.InvalidEnumArgumentException | The autoGeneratorGridTemplateStyles value is not a valid AutoGenerateGridTemplateStyles value. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
Template Class
Template Members
Overload List
CreateGridTemplateForColumnMode(Int32) Method
CreateGridTemplateForColumnMode(Int32,Int32,Int32) Method
CreateGridTemplateForColumnMode(Int32,Int32,Int32,Int32) Method
CreateGridTemplateForColumnMode(Int32,Int32,Int32,Int32,AutoGenerateGridTemplateStyles) Method
CreateGridTemplateForColumnMode(IEnumerable<Cell>) Method
CreateGridTemplateForColumnMode(IEnumerable<Cell>,Int32) Method
CreateGridTemplateForColumnMode(IEnumerable<Cell>,Int32,AutoGenerateGridTemplateStyles) Method
CreateGridTemplateForColumnMode(IEnumerable<Cell>,Int32,AutoGenerateGridTemplateStyles,Int32) Method