GrapeCity.Win.MultiRow Namespace > Template Class > CreateGridTemplateForColumnMode Method : CreateGridTemplateForColumnMode(IEnumerable<Cell>,Int32) Method |
Public Overloads Shared Function CreateGridTemplateForColumnMode( _ ByVal cells As IEnumerable(Of Cell), _ ByVal rowsMaxHeight As Integer _ ) As Template
Dim cells As IEnumerable(Of Cell) Dim rowsMaxHeight As Integer Dim value As Template value = Template.CreateGridTemplateForColumnMode(cells, rowsMaxHeight)
public static Template CreateGridTemplateForColumnMode( IEnumerable<Cell> cells, int rowsMaxHeight )
Exception | Description |
---|---|
System.ArgumentNullException | The cells is a null reference (Nothing in Visual Basic). |
System.ArgumentOutOfRangeException | The rowsMaxHeight is less than or equal to 0. |
System.ArgumentException | There exists one cell in cells that is a null reference (Nothing in Visual Basic). -or- There exists one cell in cells that has been added to another Section or Template. -or- No cell exists in cells. |
System.InvalidOperationException | There exists one cell in cells that cannot be added in the Row section. |
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(Int32,Int32,Int32,Int32,AutoGenerateGridTemplateStyles,Int32) Method
CreateGridTemplateForColumnMode(IEnumerable<Cell>) Method
CreateGridTemplateForColumnMode(IEnumerable<Cell>,Int32,AutoGenerateGridTemplateStyles) Method
CreateGridTemplateForColumnMode(IEnumerable<Cell>,Int32,AutoGenerateGridTemplateStyles,Int32) Method