Wisej.Web.DataGridViewColumnCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
DataGridViewColumn: Returns the column at the given index in the collection.
Throws:
ArgumentOutOfRangeException index is less than zero or greater than the number of columns in the collection minus one.
DataGridViewColumn: Returns the column of the given name in the collection.
Throws:
ArgumentNullException name is null.
Adds the given DataGridViewColumn to the collection.
column
Returns: Int32. The index of the column.
Throws:
ArgumentNullException column is null.
Adds a DataGridViewTextBoxColumn with the given column name to the collection.
name
The name by which the column will be referred.
Returns: Int32. The index of the column.
Throws:
Adds a DataGridViewTextBoxColumn with the given column name and call value type to the collection.
name
The name by which the column will be referred.
valueType
Returns: Int32. The index of the column.
Throws:
Adds a DataGridViewTextBoxColumn with the given column name and column header text to the collection.
name
The name by which the column will be referred.
caption
The text for the column's header.
Returns: Int32. The index of the column.
Throws:
Adds a DataGridViewTextBoxColumn with the given column name, column header text, and cell value type to the collection.
name
The name by which the column will be referred.
caption
The text for the column's header.
valueType
Returns: Int32. The index of the column.
Throws:
Adds a range of columns to the collection.
newColumns
Throws:
ArgumentNullException newColumns is null.
Clears the collection.
Throws:
Clears the collection and disposes the columns.
dispose
column
name
The name of the column to look for.
Copies the items from the collection to the given array.
array
index
The index of the destination array at which to start copying.
Returns the number of columns that match the includeFilter .
includeFilter
Throws:
Returns the width, in pixels, required to display all of the columns that meet the includeFilter .
includeFilter
Throws:
includeFilter
excludeFilter
Throws:
includeFilter
excludeFilter
Throws:
startColumn
The column from which to start searching for the next column.
includeFilter
excludeFilter
Throws:
startColumn
The column from which to start searching for the previous column.
includeFilter
excludeFilter
Throws:
column
name
The name of the column to find.
Throws:
index
The zero-based index at which to insert the given column.
column
Throws:
column
The column to delete.
Throws:
name
The name of the column to delete.
Throws:
index
The index of the column to delete.
Throws:
Moves the specified column to the new newIndex .
column
Column to move to the new newIndex .
newIndex
New index and display index of the column .