GrapeCity MultiRow Windows Forms Documentation
CreateGridTemplateForColumnMode(Int32) Method


A System.Int32 indicates the row count.
Creates a standard left-to-right layout matrix Template with the specified row count.
Syntax
Public Overloads Shared Function CreateGridTemplateForColumnMode( _
   ByVal rowCount As Integer _
) As Template
Dim rowCount As Integer
Dim value As Template
 
value = Template.CreateGridTemplateForColumnMode(rowCount)
public static Template CreateGridTemplateForColumnMode( 
   int rowCount
)

Parameters

rowCount
A System.Int32 indicates the row count.

Return Value

A Template that represents a standard left-to-right layout matrix Template.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionThe rowCount is less than or equal to 0.
Remarks
This method generates CornerHeaderCell and ColumnHeaderCell in one ColumnHeaderSection, RowHeaderCell and a default TextBoxCell in the Row section. The TextBoxCell is placed one by one from top to bottom. The default ColumnHeaderCell's size is 80,21. The default CornerHeaderCell's size is 80,21. The default RowHeaderCell's size is 80,21. The default TextBoxCell's size is 80,21. The rowCount indicates how many TextBoxCells within each row.
Requirements

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

See Also

Reference

Template Class
Template Members
Overload List
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) Method
CreateGridTemplateForColumnMode(IEnumerable<Cell>,Int32,AutoGenerateGridTemplateStyles) Method
CreateGridTemplateForColumnMode(IEnumerable<Cell>,Int32,AutoGenerateGridTemplateStyles,Int32) Method

 

 


Copyright © GrapeCity, inc. All rights reserved.