All pages
Powered by GitBook
Couldn't generate the PDF for 232 pages, generation stopped at 100.
Extend with 50 more pages.
1 of 100

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Lists & Grids

DataGridView.CustomSummary

Wisej.Web.DataGridView CustomSummary

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents a Custom summary function.

public delegate void CustomSummary(DataGridViewRow[] group, DataGridViewColumn summaryColumn)
Public Delegate Sub CustomSummary(ByVal group()

Parameters

Name
Type
Description

DataGridViewAutoSizeRowMode

Wisej.Web.DataGridViewAutoSizeRowMode

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Defines how to adjust the height of a row.

public enum DataGridViewAutoSizeRowMode : Enum
Public Enum DataGridViewAutoSizeRowMode As [Enum]

Fields

Name
Description

Used By

Name
Description

DataGridViewBindingCompleteEventHandler

Wisej.Web.DataGridViewBindingCompleteEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the DataBindingComplete event of a DataGridView.

public delegate void DataGridViewBindingCompleteEventHandler(Object sender, DataGridViewBindingCompleteEventArgs e)
Public Delegate Sub DataGridViewBindingCompleteEventHandler(ByVal sender As [Object], ByVal e As DataGridViewBindingCompleteEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

DataGridViewButtonCell

Wisej.Web.DataGridViewButtonCell

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

  • DataGridViewElement

    • DataGridViewCell

Displays a button widget in a cell.

Constructors

DataGridViewButtonCell()

Properties

UseColumnTextForButtonValue

: Gets or sets a value indicating if the button in the cell uses the owning column's text instead of the value of the cell.

ValueType

: Returns or sets the data type of the values in the cell.

DataGridView.HitTestType

Wisej.Web.DataGridView HitTestType

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Specifies the location in a control returned by the method .

DataGridViewBindingCompleteEventArgs

Wisej.Web.DataGridViewBindingCompleteEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the event.

Constructors

DataGridViewCellBorderStyle

Wisej.Web.DataGridViewCellBorderStyle

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Specifies the border styles that can be applied to the cells of a control.

Fields

DataGridViewCellCancelEventHandler

Wisej.Web.DataGridViewCellCancelEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the and events of a .

DataGridViewCellParsingEventHandler

Wisej.Web.DataGridViewCellParsingEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle a event of a .

DataGridViewCellToolTipTextNeededEventArgs

Wisej.Web.DataGridViewCellToolTipTextNeededEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the

group

DataGridViewRow[]

summaryColumn

DataGridViewColumn

AllCells

Fit the contents of all cells in the row including the header cell.

AllCellsExceptHeader

Fit the contents of all cells in the row excluding the header cell.

RowHeader

Fit the contents of the row header.

DataGridView.AutoResizeRow

Adjusts the height of the row using the specified size mode.

sender

Object

The source of the event.

e

DataGridViewBindingCompleteEventArgs

A DataGridViewBindingCompleteEventArgs that contains the event data.

DataGridView.DataBindingComplete

Occurs after a data-binding operation has finished.

DataGridViewButtonCell
DataGridViewCell
Public Class DataGridViewButtonCell
    Inherits DataGridViewCell
Boolean
Type
public class DataGridViewButtonCell : DataGridViewCell
Fields
Name
Description

Cell

A cell in the .

ColumnHeader

A column header in the .

None

An empty location in the .

RowHeader

A row header in the .

TopLeftHeader

The top left corner cell in the .

Used By

Name
Description

Returns the that indicates which part of the includes the specified coordinates.

DataGridView
HitTest
Public Enum HitTestType As [Enum]
public enum HitTestType : Enum

DataGridViewBindingCompleteEventArgs(listChangedType)

Initializes a new instance of the DataGridViewBindingCompleteEventArgs class.

Name
Type
Description

listChangedType

One of the values.

Properties

ListChangedType

ListChangedType: Returns a value specifying how the list changed.

Used By

Name
Description

Represents the method that will handle the event of a .

DataBindingComplete
Public Class DataGridViewBindingCompleteEventArgs
    Inherits EventArgs
public class DataGridViewBindingCompleteEventArgs : EventArgs
Name
Description

Both

Both vertical and horizontal border.

Horizontal

An horizontal border between rows.

None

No borders.

Vertical

A vertical border between columns.

Used By

Name
Description

Returns or sets the cell border style for the control.

Returns or sets the border style for the column headers in the control.

DataGridView
Public Enum DataGridViewCellBorderStyle As [Enum]
public enum DataGridViewCellBorderStyle : Enum
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

Fired By

Name
Description

Fired when the user presses a mouse button while the pointer is on the top-left corner cell.

Fired when edit mode starts for the selected cell.

Fired when a row is validating.

CellBeginEdit
RowValidating
DataGridView
Public Delegate Sub DataGridViewCellCancelEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellCancelEventArgs)
public delegate void DataGridViewCellCancelEventHandler(Object sender, DataGridViewCellCancelEventArgs e)
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

Fired By

Name
Description

Fired when a cell leaves edit mode if the cell value has been modified.

CellParsing
DataGridView
Public Delegate Sub DataGridViewCellParsingEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellParsingEventArgs)
public delegate void DataGridViewCellParsingEventHandler(Object sender, DataGridViewCellParsingEventArgs e)
event.
public class DataGridViewCellToolTipTextNeededEventArgs : DataGridViewCellEventArgs
Public Class DataGridViewCellToolTipTextNeededEventArgs
    Inherits DataGridViewCellEventArgs

Properties

ToolTipText

String: Gets or sets the ToolTip text.

Used By

Name
Description

Represents the method that handles the event of a .

DataGridViewCellEventArgs
DataGridViewCellToolTipTextNeededEventArgs
CellToolTipTextNeeded

ItemCheckEventHandler

Wisej.Web.ItemCheckEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the ItemCheck event of a CheckedListBox or ListView control.

public delegate void ItemCheckEventHandler(Object sender, ItemCheckEventArgs e)
Public Delegate Sub ItemCheckEventHandler(ByVal sender As [Object], ByVal e As ItemCheckEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

DataGridViewCellToolTipTextNeededEventHandler

Wisej.Web.DataGridViewCellToolTipTextNeededEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that handles the CellToolTipTextNeeded event of a DataGridView.

public delegate void DataGridViewCellToolTipTextNeededEventHandler(Object sender, DataGridViewCellToolTipTextNeededEventArgs e)
Public Delegate Sub DataGridViewCellToolTipTextNeededEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellToolTipTextNeededEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

DataGridViewColumnEventArgs

Wisej.Web.DataGridViewColumnEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for column-related events of a DataGridView.

public class DataGridViewColumnEventArgs : EventArgs
Public Class DataGridViewColumnEventArgs
    Inherits EventArgs

Constructors

DataGridViewColumnEventArgs(column)

Initializes a new instance of the class.

Name
Type
Description

Throws:

  • column is null.

Properties

Column

: Returns the column that the event occurs for.

Used By

Name
Description

DataGridViewCellContextMenuNeededEventHandler

Wisej.Web.DataGridViewCellContextMenuNeededEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle a CellContextMenuStripNeeded event of a DataGridView.

public delegate void DataGridViewCellContextMenuNeededEventHandler(Object sender, DataGridViewCellContextMenuNeededEventArgs e)
Public Delegate Sub DataGridViewCellContextMenuNeededEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellContextMenuNeededEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

DataGridViewCellStyleScopes

Wisej.Web.DataGridViewCellStyleScopes

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Specifies the scope (the type of object) that owns the cell style.

public enum DataGridViewCellStyleScopes : Enum
Public Enum DataGridViewCellStyleScopes As [Enum]

Fields

Name
Description

Used By

Name
Description

DataGridView.HitTestInfo

Wisej.Web.DataGridView HitTestInfo

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data about the pointer position in the DataGridView control.

public class HitTestInfo
Public Class HitTestInfo

Properties

Cell

: Returns the at the specified coordinates.

Column

: Returns the at the specified coordinates.

ColumnIndex

: Returns the index of the column that contains the specified coordinates.

DataGridView

: Returns the that generate this instance.

Row

: Returns the at the specified coordinates.

RowIndex

: Returns the index of the row that contains the specified coordinates

Type

: Returns the that indicates which part of the includes the specified coordinates.

DataGridViewCellStateChangedEventHandler

Wisej.Web.DataGridViewCellStateChangedEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the CellStateChanged event of a DataGridView.

public delegate void DataGridViewCellStateChangedEventHandler(Object sender, DataGridViewCellStateChangedEventArgs e)
Public Delegate Sub DataGridViewCellStateChangedEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellStateChangedEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

DataGridViewCellErrorTextNeededEventHandler

Wisej.Web.DataGridViewCellErrorTextNeededEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the CellErrorTextNeeded event of a DataGridView.

public delegate void DataGridViewCellErrorTextNeededEventHandler(Object sender, DataGridViewCellErrorTextNeededEventArgs e)
Public Delegate Sub DataGridViewCellErrorTextNeededEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellErrorTextNeededEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

DataGridViewEditMode

Wisej.Web.DataGridViewEditMode

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Specifies how a user starts cell editing in the DataGridView control.

public enum DataGridViewEditMode : Enum
Public Enum DataGridViewEditMode As [Enum]

Fields

Name
Description

Used By

Name
Description

DataGridViewCellPaintEventHandler

Wisej.Web.DataGridViewCellPaintEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle CellPaint events.

public delegate void DataGridViewCellPaintEventHandler(Object sender, DataGridViewCellPaintEventArgs e)
Public Delegate Sub DataGridViewCellPaintEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellPaintEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

DataGridViewDataReadEventArgs

Wisej.Web.DataGridViewDataReadEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the DataRead event.

public class DataGridViewDataReadEventArgs : EventArgs
Public Class DataGridViewDataReadEventArgs
    Inherits EventArgs

Constructors

DataGridViewDataReadEventArgs(firstIndex, lastIndex)

Initializes a new instance of the class.

Name
Type
Description

Properties

FirstIndex

: Returns the index of the first row requested by the grid.

LastIndex

: Returns the index of the last row requested by the grid.

Used By

Name
Description

DataGridViewColumnSortMode

Wisej.Web.DataGridViewColumnSortMode

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Defines how a DataGridView column can be sorted by the user.

public enum DataGridViewColumnSortMode : Enum
Public Enum DataGridViewColumnSortMode As [Enum]

Fields

Name
Description

Used By

Name
Description

DataGridViewCellFormattingEventHandler

Wisej.Web.DataGridViewCellFormattingEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the CellFormatting event of a DataGridView.

public delegate void DataGridViewCellFormattingEventHandler(Object sender, DataGridViewCellFormattingEventArgs e)
Public Delegate Sub DataGridViewCellFormattingEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellFormattingEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

DataGridViewCellErrorTextNeededEventArgs

Wisej.Web.DataGridViewCellErrorTextNeededEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

  • DataGridViewCellEventArgs

    • DataGridViewCellErrorTextNeededEventArgs

Provides data for the CellErrorTextNeeded event of a control.

Properties

ErrorText

: Gets or sets the error message that is displayed when the cell is selected.

Used By

Name
Description

DataGridViewDataUpdatedEventHandler

Wisej.Web.DataGridViewDataUpdatedEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the DataUpdated event of a DataGridView.

public delegate void DataGridViewDataUpdatedEventHandler(Object sender, DataGridViewDataUpdatedEventArgs e)
Public Delegate Sub DataGridViewDataUpdatedEventHandler(ByVal sender As [Object], ByVal e As DataGridViewDataUpdatedEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

DataGridViewEditingControlShowingEventHandler

Wisej.Web.DataGridViewEditingControlShowingEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the EditingControlShowing event of a DataGridView.

public delegate void DataGridViewEditingControlShowingEventHandler(Object sender, DataGridViewEditingControlShowingEventArgs e)
Public Delegate Sub DataGridViewEditingControlShowingEventHandler(ByVal sender As [Object], ByVal e As DataGridViewEditingControlShowingEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

DataGridViewDataErrorEventHandler

Wisej.Web.DataGridViewDataErrorEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the DataError event of a DataGridView.

public delegate void DataGridViewDataErrorEventHandler(Object sender, DataGridViewDataErrorEventArgs e)
Public Delegate Sub DataGridViewDataErrorEventHandler(ByVal sender As [Object], ByVal e As DataGridViewDataErrorEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

DataGridViewCellStyleContentChangedEventArgs

Wisej.Web.DataGridViewCellStyleContentChangedEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the CellStyleContentChanged event.

public class DataGridViewCellStyleContentChangedEventArgs : EventArgs
Public Class DataGridViewCellStyleContentChangedEventArgs
    Inherits EventArgs

Properties

CellStyle

: Returns the changed .

PropertyName

: Returns the name of the property that has changed in .

Used By

Name
Description

DataGridViewCellStyleContentChangedEventHandler

Wisej.Web.DataGridViewCellStyleContentChangedEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the CellStyleContentChanged event of a DataGridView.

public delegate void DataGridViewCellStyleContentChangedEventHandler(Object sender, DataGridViewCellStyleContentChangedEventArgs e)
Public Delegate Sub DataGridViewCellStyleContentChangedEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellStyleContentChangedEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

DataGridViewImageCell

Wisej.Web.DataGridViewImageCell

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

  • DataGridViewElement

    • DataGridViewCell

Displays an image in a cell.

Constructors

DataGridViewImageCell()

Properties

FormattedValueType

: Returns the type of the formatted value associated with the cell.

ImageAlignment

: Gets or sets the alignment of the image in the cell.

ImageLayout

: Gets or sets the layout of the image in the cell.

ValueType

: Returns the data type of the values in the cell.

DataGridViewCellMouseEventArgs

Wisej.Web.DataGridViewCellMouseEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

  • MouseEventArgs

    • DataGridViewCellMouseEventArgs

Provides data for mouse events raised by a DataGridView.

Properties

ColumnIndex

: Returns the zero-based column index of the cell.

RowIndex

: Returns the zero-based row index of the cell.

Used By

Name
Description

DataGridViewColumnHeadersHeightSizeMode

Wisej.Web.DataGridViewColumnHeadersHeightSizeMode

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Defines values for specifying how the height of the column headers is adjusted.

public enum DataGridViewColumnHeadersHeightSizeMode : Enum
Public Enum DataGridViewColumnHeadersHeightSizeMode As [Enum]

Fields

Name
Description

Used By

Name
Description

ItemCheckEventArgs

Wisej.Web.ItemCheckEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the event of the and controls.

DataGridViewCellCancelEventArgs

Wisej.Web.DataGridViewCellCancelEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for and events.

DataGridViewCellValidatingEventHandler

Wisej.Web.DataGridViewCellValidatingEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the event of a control.

DataGridViewCellValueEventHandler

Wisej.Web.DataGridViewCellValueEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the event or event of a .

DataGridViewAutoSizeRowsMode

Wisej.Web.DataGridViewAutoSizeRowsMode

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Defines how to adjust the heights of the rows.

Fields

DataGridViewClipboardCopyMode

Wisej.Web.DataGridViewClipboardCopyMode

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Defines how content is copied from a control to the Clipboard.

Fields

DataGridViewColumnStateChangedEventArgs

Wisej.Web.DataGridViewColumnStateChangedEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the event.

Constructors

DataGridViewImageCellLayout

Wisej.Web.DataGridViewImageCellLayout

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Specifies the layout for an image contained in a .

Fields

DataGridViewEditingControlShowingEventArgs

Wisej.Web.DataGridViewEditingControlShowingEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the

DataGridViewColumnsSortMode

Wisej.Web.DataGridViewColumnsSortMode

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Defines how a columns can be sorted by the user.

Fields

sender

Object

The source of the event.

e

ItemCheckEventArgs

An ItemCheckEventArgs that contains the event data.

CheckedListBox.ItemCheck

Fired when the checked state of an item changes.

CheckedListBox.AfterItemCheck

Fired after the checked state of an item changes.

ListView.ItemCheck

Fired when the check state of an item changes.

sender

Object

The source of the event.

e

DataGridViewCellToolTipTextNeededEventArgs

A DataGridViewCellToolTipTextNeededEventArgs that contains the event data.

DataGridView.CellToolTipTextNeeded

Fired when a cell's ToolTip text is needed.

sender

Object

The source of the event.

e

DataGridViewCellContextMenuNeededEventArgs

A DataGridViewCellContextMenuNeededEventArgs that contains the event data.

DataGridView.CellContextMenuNeeded

Fired when a cell's context menu is needed.

sender

Object

The source of the event.

e

DataGridViewCellStateChangedEventArgs

A DataGridViewCellStateChangedEventArgs that contains the event data.

DataGridView.CellStateChanged

Fired when a cell state changes, such as when the cell is selected or focused.

sender

Object

The source of the event.

e

DataGridViewCellErrorTextNeededEventArgs

A DataGridViewCellErrorTextNeededEventArgs that contains the event data.

DataGridView.CellErrorTextNeeded

Fired when a cell's error text is needed.

EditOnEnter

Editing begins when the cell receives focus. This mode is useful when pressing the TAB key to enter values across a row, or when pressing the ENTER key to enter values down a column.

EditOnF2

Editing begins when F2 is pressed while the cell has focus. This mode places the selection point at the end of the cell contents.

EditOnKeystroke

Editing begins when any alphanumeric key is pressed while the cell has focus.

EditOnKeystrokeOrF2

Editing begins when any alphanumeric key or F2 is pressed while the cell has focus.

EditProgrammatically

Editing begins only when the BeginEdit method is called.

DataGridView.EditMode

Returns or sets a value indicating how to begin editing a cell.

sender

Object

The source of the event.

e

DataGridViewCellPaintEventArgs

A DataGridViewCellPaintEventArgs that contains the event data.

DataGridView.CellPaint

Fired when a cell with the property UserPaint set to true needs to be drawn.

Automatic

The user can sort the column by clicking the column header unless the column headers are used for selection. A sorting glyph will be displayed automatically.

NotSet

The sorting behavior of the column is inherited from the DefaultSortMode property.

NotSortable

The column can only be sorted programmatically.

Programmatic

The column can only be sorted programmatically, and a sorting glyph will be displayed automatically.

DataGridViewColumn.InheritedSortMode

Returns the sort mode in effect for the column.

DataGridViewColumn.SortMode

Returns or sets the sort mode for the column.

sender

Object

The source of the event.

e

DataGridViewCellFormattingEventArgs

A DataGridViewCellFormattingEventArgs that contains the event data.

DataGridView.CellFormatting

Fired when the contents of a cell need to be formatted for display.

sender

Object

The source of the event.

e

DataGridViewDataUpdatedEventArgs

A DataGridViewDataUpdatedEventArgs that contains the event data.

DataGridView.DataUpdated

Fired when the client has updated one or more rows in the grid.

sender

Object

The source of the event.

e

DataGridViewEditingControlShowingEventArgs

A DataGridViewEditingControlShowingEventArgs that contains the event data.

DataGridView.EditingControlShowing

Fired when a control for editing a cell is showing.

sender

Object

The source of the event.

e

DataGridViewDataErrorEventArgs

A DataGridViewDataErrorEventArgs that contains the event data.

DataGridView.DataError

Fired when a data parsing or data validation operation throws an exception, or when committing data to a data source fails.

sender

Object

The source of the event.

e

DataGridViewCellStyleContentChangedEventArgs

A DataGridViewCellStyleContentChangedEventArgs that contains the event data.

DataGridView.CellStyleContentChanged

Fired when one of the values of a cell style changes.

AutoSize

The column header height adjusts to fit the contents of all the column header cells.

DisableResizing

Users cannot adjust the column header height with the pointer.

EnableResizing

Users can adjust the column header height with the pointer.

DataGridView.ColumnHeadersHeightSizeMode

Returns or sets whether the height of the column headers is adjustable and whether it can be adjusted by the user or is automatically adjusted to fit the contents of the headers. [Since 3.0.13]

DataGridView
DataGridView
DataGridView
DataGridView
DataGridView
HitTestInfo.Type
HitTestType
DataGridView
DataGridView.CellBorderStyle
DataGridView
DataGridView.ColumnHeadersBorderStyle
DataGridView
Object
DataGridViewCellCancelEventArgs
DataGridViewCellCancelEventArgs
DataGridView.TopLeftHeaderClick
DataGridView.CellBeginEdit
DataGridView.RowValidating
Object
DataGridViewCellParsingEventArgs
DataGridViewCellParsingEventArgs
DataGridView.CellParsing

column

DataGridViewColumn

The column that the event occurs for.

DataGridViewColumnEventHandler

Represents the method that will handle column-related events of a DataGridView.

DataGridViewColumnEventArgs
ArgumentNullException
DataGridViewColumn
DataGridViewCell
DataGridViewCell
DataGridViewColumn
DataGridViewColumn
Int32
DataGridView
DataGridView
HitTestInfo
DataGridViewRow
DataGridViewRow
Int32
HitTestType
HitTestType
DataGridView

firstIndex

Int32

Index of the first row.

lastIndex

Int32

Index of the last row.

DataGridViewDataReadEventHandler

Represents the method that will handle the DataRead event.

DataGridViewDataReadEventArgs
Int32
Int32

DataGridViewCellStyleContentChangedEventHandler

Represents the method that will handle the CellStyleContentChanged event of a DataGridView.

DataGridViewCellStyle
DataGridViewCellStyle
String
CellStyle
ListChangedType
ListChangedType
DataGridViewBindingCompleteEventHandler
DataBindingComplete
DataGridView
DataGridViewCellToolTipTextNeededEventHandler
CellToolTipTextNeeded
DataGridView

DataGridViewCellErrorTextNeededEventHandler

Represents the method that will handle the CellErrorTextNeeded event of a DataGridView.

DataGridView
Public Class DataGridViewCellErrorTextNeededEventArgs
    Inherits DataGridViewCellEventArgs
String
public class DataGridViewCellErrorTextNeededEventArgs : DataGridViewCellEventArgs
DataGridViewImageCell
DataGridViewCell
Public Class DataGridViewImageCell
    Inherits DataGridViewCell
Type
DataGridViewContentAlignment
DataGridViewImageCellLayout
Type
public class DataGridViewImageCell : DataGridViewCell

DataGridViewCellMouseEventHandler

Represents the method that will handle mouse-related events raised by a DataGridView.

Public Class DataGridViewCellMouseEventArgs
    Inherits MouseEventArgs
Int32
Int32
public class DataGridViewCellMouseEventArgs : MouseEventArgs

RowHeader

The style is applied to a row header.

Cell

The style is applied to single cell.

Column

The style is applied to column.

ColumnHeader

The style is applied to a column header.

DataGridView

The style is applied to the data grid control.

None

The owning type is not specified.

Row

DataGridViewCellStyle.Scope

Returns the scope (the type of object) that owns the cell style.

The style is applied to a row.

Constructors

ItemCheckEventArgs(index, newCheckValue, currentValue)

Initializes a new instance of the ItemCheckEventArgs class.

Name
Type
Description

index

The zero-based index of the item to change.

newCheckValue

One of the values that indicates whether to change the check box for the item to be checked, unchecked, or indeterminate.

currentValue

One of the values that indicates whether the check box for the item is currently checked, unchecked, or indeterminate.

Properties

CurrentValue

CheckState: Returns a value indicating the current state of the item's check box.

Index

Int32: Returns the zero-based index of the item to change.

NewValue

CheckState: Returns or sets whether to set the check box for the item to be checked, unchecked, or indeterminate.

Used By

Name
Description

Represents the method that will handle the ItemCheck event of a or control.

ItemCheck
CheckedListBox
ListView
Public Class ItemCheckEventArgs
    Inherits EventArgs
public class ItemCheckEventArgs : EventArgs
Constructors

DataGridViewCellCancelEventArgs(columnIndex, rowIndex)

Initializes a new instance of the DataGridViewCellCancelEventArgs class.

Name
Type
Description

columnIndex

The index of the column containing the cell that the event occurs for.

rowIndex

The index of the row containing the cell that the event occurs for.

Throws:

  • ArgumentOutOfRangeException columnIndex is less than -1; or rowIndex is less than -1.

Properties

ColumnIndex

Int32: Returns the column index of the cell that the event occurs for.

RowIndex

Int32: Returns the row index of the cell that the event occurs for.

Used By

Name
Description

Represents the method that will handle the and events of a .

CellBeginEdit
RowValidating
Public Class DataGridViewCellCancelEventArgs
    Inherits CancelEventArgs
public class DataGridViewCellCancelEventArgs : CancelEventArgs
Parameters
Name
Type
Description

sender

A reference to the event sender.

e

A that contains the event data.

Fired By

Name
Description

Fired when a cell loses input focus, enabling content validation.

CellValidating
DataGridView
Public Delegate Sub DataGridViewCellValidatingEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellValidatingEventArgs)
public delegate void DataGridViewCellValidatingEventHandler(Object sender, DataGridViewCellValidatingEventArgs e)
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

Fired By

Name
Description

Fired when the property of the control is true and the requires a value for a cell in order to format and display the cell.

Fired when the property of the control is true and a cell value has changed and requires storage in the underlying data source.

CellValueNeeded
CellValuePushed
DataGridView
Public Delegate Sub DataGridViewCellValueEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellValueEventArgs)
public delegate void DataGridViewCellValueEventHandler(Object sender, DataGridViewCellValueEventArgs e)
Name
Description

AllCells

Fit the contents of all cells in the rows including header cells.

AllCellsExceptHeaders

Fit the contents of all cells in the rows excluding header cells.

DoubleClick

Fit the content of all cells when the user double clicks the line below the row.

None

Do not automatically adjust.

RowHeader

Fit the contents of the row header.

Used By

Name
Description

Returns or sets a value indicating how row heights are determined.

Adjusts the heights of the rows using the specified size mode.

Public Enum DataGridViewAutoSizeRowsMode As [Enum]
public enum DataGridViewAutoSizeRowsMode : Enum
Name
Description

CopyToClient

The text copied to the clipboard is also always sent to the client's clipboard automatically.

Disable

Copying to the Clipboard is disabled.

EnableAlwaysIncludeHeaderText

The text values of selected cells is copied to the Clipboard. The text in the header is included.

EnableWithAutoHeaderText

The text values of selected cells is copied to the Clipboard. The text in the row header or column header is included only when the property is set to or or and at least one header is selected.

EnableWithoutHeaderText

The text values of selected cells is copied to the Clipboard. The text in the header is not included.

Used By

Name
Description

Returns or sets a value that indicates whether users can copy cell text values to the and whether row and column header text is included.

DataGridView
Public Enum DataGridViewClipboardCopyMode As [Enum]
public enum DataGridViewClipboardCopyMode : Enum

DataGridViewColumnStateChangedEventArgs(column, state)

Initializes a new instance of the DataGridViewColumnStateChangedEventArgs class.

Name
Type
Description

column

The whose state has changed.

state

One of the values.

Properties

Column

DataGridViewColumn: Returns the column whose state changed.

StateChanged

DataGridViewElementStates: Returns the new column state.

Used By

Name
Description

Represents the method that will handle the event of a .

ColumnStateChanged
Public Class DataGridViewColumnStateChangedEventArgs
    Inherits EventArgs
public class DataGridViewColumnStateChangedEventArgs : EventArgs
Name
Description

BestFit

The image is scaled to the largest size such that both its width and its height can fit inside the content area.

Center

The image is centered within the cell's client rectangle.

None

The image is left-aligned at the top across the cell's client rectangle.

NotSet

The layout specification has not been set.

OriginalSize

The image left-aligned at the top and sized using the image original size.

Stretch

Used By

Name
Description

Gets or sets the layout of the image in the cell.

Gets or sets the image layout in the cells for this column.

DataGridViewCell
Public Enum DataGridViewImageCellLayout As [Enum]
public enum DataGridViewImageCellLayout : Enum
event.
public class DataGridViewEditingControlShowingEventArgs : DataGridViewCellEventArgs
Public Class DataGridViewEditingControlShowingEventArgs
    Inherits DataGridViewCellEventArgs

Properties

CellStyle

DataGridViewCellStyle: Returns or sets the cell style of the edited cell.

Control

Control: The control shown to the user for editing the selected cell's value.

Used By

Name
Description

Represents the method that will handle the event of a .

DataGridViewCellEventArgs
DataGridViewEditingControlShowingEventArgs
EditingControlShowing
Name
Description

Automatic

The user can sort the column by clicking the column header unless the column headers are used for selection. A sorting glyph will be displayed automatically.

NotSortable

The column can only be sorted programmatically.

Programmatic

The column can only be sorted programmatically, and a sorting glyph will be displayed automatically.

Used By

Name
Description

Returns or sets the default for all columns when the property is set to (default).

DataGridView
Public Enum DataGridViewColumnsSortMode As [Enum]
public enum DataGridViewColumnsSortMode : Enum

BaseCollection

Wisej.Web.BaseCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides the base functionality for creating data-related collections in the DataGridView control.

public class BaseCollection : ICollection, IEnumerable
Public Class BaseCollection
    Inherits ICollection
    Implements IEnumerable

Constructors

BaseCollection()

Initializes a new instance of the class.

Inherited By

Name
Description

DataGridViewAutoSizeColumnMode

Wisej.Web.DataGridViewAutoSizeColumnMode

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Defines values for specifying how the width of a column is adjusted.

public enum DataGridViewAutoSizeColumnMode : Enum
Public Enum DataGridViewAutoSizeColumnMode As [Enum]

Fields

Name
Description

Used By

Name
Description

DataGridViewCellStateChangedEventArgs

Wisej.Web.DataGridViewCellStateChangedEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the CellStateChanged event.

public class DataGridViewCellStateChangedEventArgs : EventArgs
Public Class DataGridViewCellStateChangedEventArgs
    Inherits EventArgs

Constructors

DataGridViewCellStateChangedEventArgs(cell, state)

Initializes a new instance of the class.

Name
Type
Description

Throws:

  • cell is null.

Properties

Cell

: Returns the that has a changed state.

StateChanged

: Returns the state that has changed on the cell.

Used By

Name
Description

DataGridViewDataErrorEventArgs

Wisej.Web.DataGridViewDataErrorEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

  • DataGridViewCellCancelEventArgs

    • DataGridViewDataErrorEventArgs

Provides data for the DataError event.

Constructors

DataGridViewDataErrorEventArgs(exception, columnIndex, rowIndex)

Initializes a new instance of the class.

Name
Type
Description

Properties

Exception

: Returns the exception that represents the error.

ThrowException

: Returns or sets whether to throw the exception after the delegate is finished with it.

Throws:

  • When setting this property to true, the property value is null.

Used By

Name
Description

DataGridViewCellPaintEventArgs

Wisej.Web.DataGridViewCellPaintEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

  • PaintEventArgs

    • DataGridViewCellPaintEventArgs

Provides data for CellPaint event.

Constructors

DataGridViewCellPaintEventArgs(columnIndex, rowIndex, graphics, clipRect)

Initializes a new instance of the class.

Name
Type
Description

Throws:

  • columnIndex is less than -1, or rowIndex is less than -1.

Properties

ColumnIndex

: Returns a value indicating the column index of the cell that the event occurs for.

RowIndex

: Returns a value indicating the row index of the cell that the event occurs for.

Used By

Name
Description

DataGridViewCellMouseEventHandler

Wisej.Web.DataGridViewCellMouseEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle mouse-related events raised by a DataGridView.

public delegate void DataGridViewCellMouseEventHandler(Object sender, DataGridViewCellMouseEventArgs e)
Public Delegate Sub DataGridViewCellMouseEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellMouseEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

DataGridViewDateTimePickerCell

Wisej.Web.DataGridViewDateTimePickerCell

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

  • DataGridViewElement

    • DataGridViewCell

Displays an editable control in a cell when in edit mode.

Constructors

DataGridViewDateTimePickerCell()

Properties

CustomFormat

: Returns or sets the custom date/time format string.

See for the supported format definitions.

EditType

: Returns the type of the cell's hosted editing control.

Format

: Returns or sets the format of the date/time value displayed in the control.

MaxDate

: Returns or sets the maximum date and time that can be selected in the control.

Throws:

  • The value assigned is not less than the value (12/31/9998).

  • The value assigned is less than the value (01/01/1753).

MinDate

: Returns or sets the minimum date and time that can be selected in the control.

Throws:

  • The value assigned is not less than the value (12/31/9998).

  • The value assigned is less than the value (01/01/1753).

ShowUpDown

: Returns or sets a value indicating if a spin button control (up-down control) is displayed and can be used to adjust the date/time value.

Tools

: Returns the instance of associated with this cell.

ValueType

: Returns or sets the data type of the values in the cell.

DataGridViewColumnEventHandler

Wisej.Web.DataGridViewColumnEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle column-related events of a DataGridView.

public delegate void DataGridViewColumnEventHandler(Object sender, DataGridViewColumnEventArgs e)
Public Delegate Sub DataGridViewColumnEventHandler(ByVal sender As [Object], ByVal e As DataGridViewColumnEventArgs)

Parameters

Name
Type
Description

Fired By

Name
Description

DataGridViewContentAlignment

Wisej.Web.DataGridViewContentAlignment

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Defines constants that indicate the alignment of content within a DataGridView cell.

public enum DataGridViewContentAlignment : Enum
Public Enum DataGridViewContentAlignment As [Enum]

Fields

Name
Description

Used By

Name
Description

CheckedListBox.CheckedObjectCollection

Wisej.Web.CheckedListBox CheckedObjectCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the collection of checked items in the .

DataGridViewCellParsingEventArgs

Wisej.Web.DataGridViewCellParsingEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the

DataGridViewColumnStateChangedEventHandler

Wisej.Web.DataGridViewColumnStateChangedEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the event of a .

Object
DataGridViewCellValidatingEventArgs
DataGridViewCellValidatingEventArgs
DataGridView.CellValidating
Object
DataGridViewCellValueEventArgs
DataGridViewCellValueEventArgs
DataGridView.CellValueNeeded
VirtualMode
DataGridView
DataGridView
DataGridView.CellValuePushed
VirtualMode
DataGridView
DataGridView.AutoSizeRowsMode
DataGridView.AutoResizeRows

ExcludeUnselectedColumns

Excludes the unselected columns in between the first and last selected columns.

ExcludeUnselectedRows

Excludes the unselected rows in between the first and last selected rows.

SelectionMode
RowHeaderSelect
ColumnHeaderSelect
RowColumnHeaderSelect
DataGridView.ClipboardCopyMode
Clipboard

The image is stretched across the cell's client rectangle.

Tile

The image is tiled across the cell's client rectangle.

Zoom

The image is enlarged within the cell's client rectangle.

DataGridViewImageCell.ImageLayout
DataGridViewImageColumn.CellImageLayout
DataGridView.DefaultSortMode
SortMode
SortMode
NotSet

cell

DataGridViewCell

The DataGridViewCell that has a changed state.

state

DataGridViewElementStates

One of the DataGridViewElementStates values indicating the state that has changed on the cell.

DataGridViewCellStateChangedEventHandler

Represents the method that will handle the CellStateChanged event of a DataGridView.

DataGridViewCellStateChangedEventArgs
ArgumentNullException
DataGridViewCell
DataGridViewCell
DataGridViewElementStates
Int32
CheckState
CheckState
CheckState
CheckState
ItemCheckEventHandler
CheckedListBox
ListView
Int32
Int32
DataGridViewCellCancelEventHandler
CellBeginEdit
RowValidating
DataGridView
DataGridViewColumn
DataGridViewColumn
DataGridViewElementStates
DataGridViewElementStates
DataGridViewColumnStateChangedEventHandler
ColumnStateChanged
DataGridView
DataGridViewEditingControlShowingEventHandler
EditingControlShowing
DataGridView

exception

Exception

The exception that occurred.

columnIndex

Int32

The column index of the cell that raised the DataError.

rowIndex

Int32

The row index of the cell that raised the DataError.

DataGridViewDataErrorEventHandler

Represents the method that will handle the DataError event of a DataGridView.

Public Class DataGridViewDataErrorEventArgs
    Inherits DataGridViewCellCancelEventArgs
DataGridViewDataErrorEventArgs
Exception
Boolean
DataGridViewDataErrorEventHandler
ArgumentException
Exception
public class DataGridViewDataErrorEventArgs : DataGridViewCellCancelEventArgs
DataGridViewDateTimePickerCell
DateTimePicker
DataGridViewCell
Public Class DataGridViewDateTimePickerCell
    Inherits DataGridViewCell
String
Custom Date and Time Format Strings
Type
DateTimePickerFormat
DateTime
ArgumentException
MaximumDate
SystemException
MinimumDateTime
DateTime
ArgumentException
MaximumDate
SystemException
MinimumDateTime
Boolean
ComponentToolCollection
ComponentToolCollection
Type
public class DataGridViewDateTimePickerCell : DataGridViewCell

The content is aligned vertically at the middle and horizontally at the right of a cell.

NotSet

The alignment is not set.

TopCenter

The content is aligned vertically at the top and horizontally at the center of a cell.

TopLeft

The content is aligned vertically at the top and horizontally at the left of a cell.

TopRight

The content is aligned vertically at the top and horizontally at the right of a cell.

BottomCenter

The content is aligned vertically at the bottom and horizontally at the center of a cell.

BottomLeft

The content is aligned vertically at the bottom and horizontally at the left of a cell.

BottomRight

The content is aligned vertically at the bottom and horizontally at the right of a cell.

MiddleCenter

The content is aligned at the vertical and horizontal center of a cell.

MiddleLeft

The content is aligned vertically at the middle and horizontally at the left of a cell.

DataGridViewImageCell.ImageAlignment

Gets or sets the alignment of the image in the cell.

DataGridViewImageColumn.CellImageAlignment

Gets or sets the image alignment in the cells for the column.

DataGridViewCellStyle.Alignment

Returns or sets a value indicating the position of the cell content within a DataGridViewCell cell.

MiddleRight

Represents a collection of objects that are selected in a .

DataGridViewCellCollection

Represents a collection of cells in a DataGridViewRow.

DataGridViewChildRowCollection

Represents a collection of DataGridViewRow objects that are childre of another DataGridViewRow.

DataGridViewColumnCollection

Represents a collection of DataGridViewColumn objects in a DataGridView control.

DataGridViewSelectedCellCollection

Represents a collection of cells that are selected in a DataGridView.

DataGridViewSelectedColumnCollection

Represents a collection of DataGridViewColumn objects that are selected in a DataGridView.

BaseCollection

Fill

The column width adjusts so that the widths of all columns exactly fills the display area of the control, requiring horizontal scrolling only to keep column widths above the property values. Relative column widths are determined by the relative property values.

None

The column width does not automatically adjust.

NotSet

The sizing behavior of the column is inherited from the property.

AllCells

The column width adjusts to fit the contents of all cells in the column, including the header cell. Since the DataGridView uses virtual scrolling, the width of the column may grow as new cells are downloaded and become visible.

AllCellsExceptHeader

The column width adjusts to fit the contents of all cells in the column, excluding the header cell. Since the DataGridView uses virtual scrolling, the width of the column may grow as new cells are downloaded and become visible.

ColumnHeader

The column width adjusts to fit the contents of the column header cell.

DisplayedCells

The column width adjusts to fit the contents of all cells in the column that are in rows currently displayed, including the header cell.

DisplayedCellsExceptHeader

The column width adjusts to fit the contents of all cells in the column that are in rows currently displayed, excluding the header cell.

DoubleClick

DataGridViewColumn.AutoSizeMode

Gets or sets the mode by which the column automatically adjusts its width.

DataGridViewColumn.InheritedAutoSizeMode

Returns the sizing mode in effect for the column.

DataGridView.AutoResizeColumn

Adjusts the width of the specified column using the specified size mode.

Adjusts the width of the column to fit the when the user double clicks the separator line to the right of the column.

The that represents the rectangle in which to paint.

columnIndex

Int32

The index of the column containing the cell that the event occurs for.

rowIndex

Int32

The index of the row containing the cell that the event occurs for.

graphics

Graphics

The Graphics used to paint the item.

DataGridViewCellPaintEventHandler

Represents the method that will handle CellPaint events.

Public Class DataGridViewCellPaintEventArgs
    Inherits PaintEventArgs
DataGridViewCellPaintEventArgs
ArgumentOutOfRangeException
Int32
Int32
public class DataGridViewCellPaintEventArgs : PaintEventArgs

clipRect

Fired when the user clicks within the boundaries of a row header.

Fired when a row header is double-clicked.

Fired when the user clicks a column header.

Fired when a column header is double-clicked.

sender

Object

The source of the event.

e

DataGridViewCellMouseEventArgs

A DataGridViewCellMouseEventArgs that contains the event data.

DataGridView.CellMouseClick

Occurs whenever the user clicks anywhere on a cell with the mouse.

DataGridView.CellMouseDoubleClick

Fired when a cell within the DataGridView is double-clicked.

DataGridView.CellMouseMove

Fired when the mouse pointer moves over the DataGridView control.

DataGridView.CellMouseDown

Fired when the user presses a mouse button while the pointer is within the boundaries of a cell.

DataGridView.CellMouseUp

Fired when the user releases a mouse button while over a cell.

Fired when the value of the property for a column changes.

Fired when the value of the property changes.

Fired when the property changes.

Fired when the property changes.

sender

Object

The source of the event.

e

DataGridViewColumnEventArgs

A DataGridViewColumnEventArgs that contains the event data.

DataGridView.ColumnAdded

Fired when a column is added to the control.

DataGridView.ColumnRemoved

Fired when a column is removed from the control.

DataGridView.ColumnDisplayIndexChanged

Fired when the value the DisplayIndex property for a column changes.

DataGridView.ColumnWidthChanged

Fired when the value of the Width property for a column changes.

DataGridView.ColumnMinimumWidthChanged

Fired when the value of the MinimumWidth property for a column changes.

Properties

Count

Int32: Returns the number of selected items.

IsReadOnly

Boolean: Returns a value indicating whether this collection can be modified.

Item(index)

Object: Return an item in the checked items collection.

Throws:

  • NotSupportedException The object cannot be set.

Methods

Contains(item)

Determines if the specified item is located within the collection.

Parameter
Type
Description

item

An object representing the item to locate in the collection.

Returns: Boolean. true if the item is located within the collection; otherwise, false.

CopyTo(array, index)

Copies the entire collection into an existing array at a specified location within the array.

Parameter
Type
Description

array

The destination array.

index

The zero-based relative index in array at which copying begins.

Throws:

  • ArgumentNullException array is null.

  • RankException array is multidimensional.

  • ArgumentOutOfRangeException index is less than zero.

  • The number of elements in the source is greater than the available space from index to the end of the destination .

  • The type of the source cannot be cast automatically to the type of the destination .

GetEnumerator()

Returns an enumerator that can be used to iterate through the CheckedItems collection.

Returns: IEnumerator. An IEnumerator for navigating through the list.

IndexOf(item)

Returns an index into the collection of checked items.

Parameter
Type
Description

item

The object whose index you want to retrieve. This object must belong to the checked items collection.

Returns: Int32. The index of the object in the checked item collection or -1 if the object is not in the collection.

CheckedListBox
Public Class CheckedObjectCollection
    Inherits IList
    Implements ICollection, IEnumerable
public class CheckedObjectCollection : IList, ICollection, IEnumerable
event of a
control.
public class DataGridViewCellParsingEventArgs : ConvertEventArgs
Public Class DataGridViewCellParsingEventArgs
    Inherits ConvertEventArgs

Constructors

DataGridViewCellParsingEventArgs(rowIndex, columnIndex, value, desiredType, inheritedCellStyle)

Initializes a new instance of the DataGridViewCellParsingEventArgs class.

Name
Type
Description

rowIndex

The row index of the cell that was changed.

columnIndex

The column index of the cell that was changed.

value

The new value.

Properties

ColumnIndex

Int32: Returns the column index of the cell data that requires parsing.

InheritedCellStyle

DataGridViewCellStyle: Returns or sets the style applied to the edited cell.

ParsingApplied

Boolean: Returns or sets whether a cell's value has been successfully parsed.

RowIndex

Int32: Returns the row index of the cell that requires parsing.

Used By

Name
Description

Represents the method that will handle a event of a .

ConvertEventArgs
DataGridViewCellParsingEventArgs
CellParsing
DataGridView
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

Fired By

Name
Description

Fired when a column changes state, such as becoming visible.

ColumnStateChanged
DataGridView
Public Delegate Sub DataGridViewColumnStateChangedEventHandler(ByVal sender As [Object], ByVal e As DataGridViewColumnStateChangedEventArgs)
public delegate void DataGridViewColumnStateChangedEventHandler(Object sender, DataGridViewColumnStateChangedEventArgs e)

CheckedListBox.CheckedIndexCollection

Wisej.Web.CheckedListBox CheckedIndexCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the collection containing the indexes to the selected items in a CheckedListBox.

public class CheckedIndexCollection : IList, ICollection, IEnumerable
Public Class CheckedIndexCollection
    Inherits IList
    Implements ICollection, IEnumerable

Properties

Count

: Returns the number of selected items.

IsReadOnly

: Returns a value indicating whether this collection can be modified.

Item(index)

: Returns the index of a checked item in the control.

Throws:

  • The index is less than zero.-or- The index is not in the collection.

Methods

Contains(index)

Determines if the specified index is located within the collection.

Parameter
Type
Description

Returns: . true if the index is located within the collection; otherwise, false.

CopyTo(array, index)

Copies the entire collection into an existing array at a specified location within the array.

Parameter
Type
Description

Throws:

  • array is null.

  • array is multidimensional.

  • index is less than zero.

GetEnumerator()

Returns an enumerator that can be used to iterate through the collection.

Returns: . An for navigating through the list.

IndexOf(index)

Returns an index into the collection of checked indexes.

Parameter
Type
Description

Returns: . The index that specifies the index of the checked item or -1 if the index parameter is not in the checked indexes collection.

DataGridViewCellValueEventArgs

Wisej.Web.DataGridViewCellValueEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the CellValueNeeded and CellValuePushed events of the DataGridView control.

public class DataGridViewCellValueEventArgs : EventArgs
Public Class DataGridViewCellValueEventArgs
    Inherits EventArgs

Constructors

DataGridViewCellValueEventArgs(columnIndex, rowIndex, value)

Initializes a new instance of the class.

Name
Type
Description

Throws:

  • columnIndex is less than 0; or rowIndex is less than 0.

Properties

ColumnIndex

: Returns a value indicating the column index of the cell that the event occurs for.

RowIndex

: Returns a value indicating the row index of the cell that the event occurs for.

Value

: Returns or sets the value of the cell that the event occurs for.

Used By

Name
Description

DataGridViewChildRowCollection

Wisej.Web.DataGridViewChildRowCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

  • BaseCollection

    • DataGridViewChildRowCollection

Represents a collection of DataGridViewRow objects that are childre of another .

Properties

Item(index)

: Returns the row at the specified index.

Throws:

  • index is less than 0; or index is equal to or greater than the number of rows in the collection.

Methods

Contains(row)

Determines whether the specified row is contained in the collection.

Parameter
Type
Description

Returns: . true if row is in the collection; otherwise, false.

CopyTo(array, index)

Copies the elements of the collection to the specified array, starting at the specified index.

Parameter
Type
Description

Throws:

  • array is null.

  • index is less than zero.

  • array is multidimensional; or the number of elements in the is greater than the available space from index to the end of array .

IndexOf(row)

Returns the index of the specified element.

Parameter
Type
Description

Returns: . The zero-based index of the row parameter if it is found in the collection; otherwise, -1.

DataGridViewNumericUpDownCell

Wisej.Web.DataGridViewNumericUpDownCell

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

  • DataGridViewElement

    • DataGridViewCell

Displays an editable control in a cell when in edit mode.

Constructors

DataGridViewNumericUpDownCell()

Properties

DecimalPlaces

: Returns or sets the number of decimal places to display in the spin column (also known as an up-down column).

Throws:

  • The value assigned is less than 0; or the value assigned is greater than 99.

EditType

: Returns the type of the cell's hosted editing control.

HideUpDownButtons

: Returns or sets the visibility of the spinner buttons.

Increment

: Returns or sets the value to increment or decrement the spin column (also known as an up-down column) when the up or down buttons are clicked.

Throws:

  • The assigned value is not greater than or equal to zero.

Maximum

: Returns or sets the maximum value for the spin column (also known as an up-down column).

Minimum

: Returns or sets the minimum allowed value for the spin column (also known as an up-down column).

ThousandsSeparator

: Returns or sets whether a thousands separator is displayed in the spin column (also known as an up-down column) when appropriate.

ValueType

: Returns or sets the data type of the values in the cell.

DataGridViewCellContextMenuNeededEventArgs

Wisej.Web.DataGridViewCellContextMenuNeededEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

  • DataGridViewCellEventArgs

    • DataGridViewCellContextMenuNeededEventArgs

Provides data for the CellContextMenuNeeded event.

Constructors

DataGridViewCellContextMenuNeededEventArgs(columnIndex, rowIndex)

Initializes a new instance of the class.

Name
Type
Description

DataGridViewCellContextMenuNeededEventArgs(columnIndex, rowIndex, x, y)

Initializes a new instance of the class.

Name
Type
Description

Properties

ContextMenu

: Returns or sets the context menu for the cell that raised the event.

Used By

Name
Description

DataGridViewImageColumn

Wisej.Web.DataGridViewImageColumn

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

  • DataGridViewElement

    • DataGridViewBand

Represents a column that contains a collection of cells.

Constructors

DataGridViewImageColumn()

Initializes a new instance of the class to the default state.

DataGridViewImageColumn(cellTemplate)

Initializes a new instance of the class to the default state.

Name
Type
Description

Properties

CellImage

: Gets or sets the image displayed in the cells that have a null value.

This value is inherited by all the cells in the column. However, the value set in the specific cell overrides the value from the owner column.

CellImageAlignment

: Gets or sets the image alignment in the cells for the column.

This value is inherited by all the cells in the column. However, the value set in the specific cell overrides the value from the owner column. Throws:

  • The value of the property is null.

CellImageLayout

: Gets or sets the image layout in the cells for this column.

This value is inherited by all the cells in the column. However, the value set in the specific cell overrides the value from the owner column. Throws:

  • The value of the property is null.

CellImageSource

: Gets or sets the image URL or name displayed in cells that have a null value.

This value is inherited by all the cells in the column. However, the value set in the specific cell overrides the value from the owner column.

CellTemplate

: Returns or sets the template used to model cell appearance.

Throws:

  • The type is null.

  • The set type is not compatible with type .

ValueType

: Returns or sets the data type of the values in the column's cells.

Implements

Name
Description

DataGridViewCollectionChangeEventArgs

Wisej.Web.DataGridViewCollectionChangeEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Extends the CollectionChangeEventArgs class to add the internal flag RecreateNewRow.

public class DataGridViewCollectionChangeEventArgs : CollectionChangeEventArgs
Public Class DataGridViewCollectionChangeEventArgs
    Inherits CollectionChangeEventArgs

Constructors

DataGridViewCollectionChangeEventArgs(action, element)

Provides data for the System.Data.DataColumnCollection.CollectionChanged event.

Name
Type
Description

DataGridViewCollectionChangeEventArgs(action, element, recreateNewRow)

Provides data for the System.Data.DataColumnCollection.CollectionChanged event.

Name
Type
Description

Properties

RecreateNewRow

: Indicates whether the DataGridView should recreate the new automatic row when the collection changes.

DataGridViewDateTimePickerEditingControl

Wisej.Web.DataGridViewDateTimePickerEditingControl

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

DataGridViewCheckBoxColumn

Wisej.Web.DataGridViewCheckBoxColumn

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

DataGridViewCheckBoxCell

Wisej.Web.DataGridViewCheckBoxCell

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

DataGridViewLinkColumn

Wisej.Web.DataGridViewLinkColumn

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

DataGridViewNumericUpDownEditingControl

Wisej.Web.DataGridViewNumericUpDownEditingControl

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

DataGridViewAutoSizeColumnsMode

Wisej.Web.DataGridViewAutoSizeColumnsMode

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Defines values for specifying how the widths of columns are adjusted.

Fields

DataGridViewDataUpdatedEventArgs

Wisej.Web.DataGridViewDataUpdatedEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the event.

Constructors

DataGridViewDataReadEventHandler

Wisej.Web.DataGridViewDataReadEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Represents the method that will handle the event.

Parameters

DataGridViewSelectedRowCollection
DataGridViewRow
DataGridView
DisplayedCells
MinimumWidth
FillWeight
AutoSizeColumnsMode
Rectangle
Rectangle
DataGridView.RowHeaderMouseClick
DataGridView.RowHeaderMouseDoubleClick
DataGridView.ColumnHeaderMouseClick
DataGridView.ColumnHeaderMouseDoubleClick
DataGridView.ColumnMaximumWidthChanged
MaximumWidth
DataGridView.ColumnSortModeChanged
SortMode
DataGridView.ColumnNameChanged
Name
DataGridView.ColumnFillWeightChanged
FillWeight
Object
DataGridViewColumnStateChangedEventArgs
DataGridViewColumnStateChangedEventArgs
DataGridView.ColumnStateChanged
ArgumentException The number of elements in the source Array is greater than the available space from index to the end of the destination Array.
  • ArrayTypeMismatchException The type of the source Array cannot be cast automatically to the type of the destination Array.

  • index

    Int32

    The index to locate in the collection.

    array

    Array

    The destination array.

    index

    Int32

    The zero-based relative index in array at which copying begins.

    index

    Int32

    The index of the checked item.

    Int32
    Boolean
    Int32
    CheckedListBox
    ArgumentException
    Boolean
    ArgumentNullException
    RankException
    ArgumentOutOfRangeException
    CheckedIndices
    IEnumerator
    IEnumerator
    Int32

    columnIndex

    Int32

    The index of the column containing the cell that the event occurs for.

    rowIndex

    Int32

    The index of the row containing the cell that the event occurs for.

    value

    Object

    The current value or null.

    DataGridViewCellValueEventHandler

    Represents the method that will handle the CellValueNeeded event or CellValuePushed event of a DataGridView.

    DataGridViewCellValueEventArgs
    ArgumentOutOfRangeException
    Int32
    Int32
    Object

    action

    CollectionChangeAction

    One of the System.ComponentModel.CollectionChangeAction values that specifies how the collection changed.

    element

    Object

    The instance of the collection that changed. Usually when action = Refresh, element is null.

    action

    CollectionChangeAction

    One of the System.ComponentModel.CollectionChangeAction values that specifies how the collection changed.

    element

    Object

    The instance of the collection that changed. Usually when action = Refresh, element is null.

    recreateNewRow

    Boolean

    Indicates whether the grid should re-create the new automatic row.

    Boolean
    ArgumentException
    Array
    Array
    ArrayTypeMismatchException
    Array
    Array
    Object
    Array
    Int32
    Object

    desiredType

    Type

    The type of the new value.

    inheritedCellStyle

    DataGridViewCellStyle

    The style applied to the cell that was changed.

    Int32
    Int32
    Object
    DataGridViewCellParsingEventHandler
    CellParsing
    DataGridView

    InvalidCastException The DataGridViewCellCollection cannot be cast automatically to the type of array .

    row

    DataGridViewRow

    The DataGridViewRow to locate in the DataGridViewSelectedRowCollection.

    array

    DataGridViewRow[]

    The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.

    index

    Int32

    The zero-based index in the array at which copying begins.

    row

    DataGridViewRow

    The DataGridViewRow to locate in the collection.

    DataGridViewRow
    Public Class DataGridViewChildRowCollection
        Inherits BaseCollection
        Implements IList, IList(Of DataGridViewRow), ICollection(Of DataGridViewRow), IEnumerable(Of DataGridViewRow)
    DataGridViewRow
    ArgumentOutOfRangeException
    Boolean
    ArgumentNullException
    ArgumentOutOfRangeException
    ArgumentException
    DataGridViewCellCollection
    Int32
    public class DataGridViewChildRowCollection : BaseCollection, IList, IList<DataGridViewRow>, ICollection<DataGridViewRow>, IEnumerable<DataGridViewRow>
    DataGridViewNumericUpDownCell
    NumericUpDown
    DataGridViewCell
    Public Class DataGridViewNumericUpDownCell
        Inherits DataGridViewCell
    Int32
    ArgumentOutOfRangeException
    Type
    Boolean
    Decimal
    ArgumentOutOfRangeException
    Decimal
    Decimal
    Boolean
    Type
    public class DataGridViewNumericUpDownCell : DataGridViewCell

    cellTemplate

    DataGridViewImageCell

    An existing DataGridViewImageCell to use as a template.

    IWisejComponent

    All wisej components implement this interface.

    IWisejSerializable

    Allows an object to serialize itself.

    DataGridViewColumn
    DataGridViewImageColumn
    DataGridView
    DataGridViewImageCell
    Public Class DataGridViewImageColumn
        Inherits DataGridViewColumn
    DataGridViewImageColumn
    DataGridViewImageColumn
    Image
    DataGridViewContentAlignment
    InvalidOperationException
    CellTemplate
    DataGridViewImageCellLayout
    InvalidOperationException
    CellTemplate
    String
    DataGridViewCell
    InvalidOperationException
    InvalidCastException
    DataGridViewImageCell
    Type
    public class DataGridViewImageColumn : DataGridViewColumn

    The y-coordinate of the pointer relative to the cell.

    columnIndex

    Int32

    The column index of cell that the event occurred for.

    rowIndex

    Int32

    The row index of the cell that the event occurred for.

    columnIndex

    Int32

    The column index of cell that the event occurred for.

    rowIndex

    Int32

    The row index of the cell that the event occurred for.

    x

    Int32

    The x-coordinate of the pointer relative to the cell.

    DataGridViewCellContextMenuNeededEventHandler

    Represents the method that will handle a CellContextMenuStripNeeded event of a DataGridView.

    Public Class DataGridViewCellContextMenuNeededEventArgs
        Inherits DataGridViewCellEventArgs
    DataGridViewCellContextMenuNeededEventArgs
    DataGridViewCellContextMenuNeededEventArgs
    ContextMenu
    CellContextMenuNeeded
    public class DataGridViewCellContextMenuNeededEventArgs : DataGridViewCellEventArgs

    y

    DataGridViewDateTimePickerEditingControl

    Represents a DateTimePicker control that can be hosted in a DataGridViewDateTimePickerCell.

    public class DataGridViewDateTimePickerEditingControl : DateTimePicker, IDataGridViewEditingControl
    Public Class DataGridViewDateTimePickerEditingControl
        Inherits DateTimePicker
        Implements IDataGridViewEditingControl

    Constructors

    DataGridViewDateTimePickerEditingControl()

    Properties

    DataGridView

    DataGridView: Returns or sets the DataGridView that contains the text box control.

    Methods

    ApplyCellStyleToEditingControl(style)

    Adapts the edit control's properties to be consistent with the specified cell style.

    Parameter
    Type
    Description

    style

    The in effect for the cell entering edit mode.

    GetEditingControlFormattedValue()

    Retrieves the formatted value of the cell.

    Returns: String. An String that represents the formatted version of the cell contents.

    PrepareEditingControlForEdit(selectAll)

    Prepares the edit control for editing.

    Parameter
    Type
    Description

    selectAll

    true to select the cell contents; otherwise, false.

    Implements

    Name
    Description

    Defines common functionality for controls that are hosted within cells of a .

    Bindable components implement this interface.

    Provides access to the associated with the controls that implement this interface.

    Provides access to the property for coontrols that support the read-only mode.

    Provides access to the property and event for controls that implement this interface.

    Control
    DateTimePicker

    DataGridViewColumn

    • DataGridViewCheckBoxColumn

    Represents a DataGridView column that contains a collection of DataGridViewCheckBoxCell cells.

    public class DataGridViewCheckBoxColumn : DataGridViewColumn
    Public Class DataGridViewCheckBoxColumn
        Inherits DataGridViewColumn

    Constructors

    DataGridViewCheckBoxColumn()

    Initializes a new instance of the DataGridViewCheckBoxColumn class to the default state.

    DataGridViewCheckBoxColumn(cellTemplate)

    Initializes a new instance of the DataGridViewCheckBoxColumn class to the default state.

    Name
    Type
    Description

    cellTemplate

    An existing to use as a template.

    Properties

    CellTemplate

    DataGridViewCell: Returns or sets the template used to model cell appearance.

    Throws:

    • InvalidOperationException The type is null.

    • InvalidCastException The set type is not compatible with type DataGridViewCheckBoxCell.

    DefaultCellStyle

    DataGridViewCellStyle: Returns or sets the column's default cell style.

    FalseValue

    Object: Gets or sets the value that corresponds to false, which appears as an unchecked box.

    This value is inherited by all the cells in the column that do not specify a value for this property. Throws:

    • InvalidOperationException The property CellTemplate is null.

    IndeterminateValue

    Object: Gets or sets the value that corresponds to indeterminate, which appears as an indeterminate box.

    This value is inherited by all the cells in the column that do not specify a value for this property. Throws:

    • InvalidOperationException The property CellTemplate is null.

    ThreeState

    Boolean: Returns or sets a value indicating if the checkbox cells support three states.

    This value is inherited by all the cells in the column that do not specify a value for this property. Throws:

    • InvalidOperationException The property CellTemplate is null.

    TrueValue

    Object: Gets or sets the value that corresponds to true, which appears as a checked box.

    This value is inherited by all the cells in the column that do not specify a value for this property. Throws:

    • InvalidOperationException The property CellTemplate is null.

    ValueType

    Type: Returns or sets the data type of the values in the column's cells.

    Implements

    Name
    Description

    All wisej components implement this interface.

    Allows an object to serialize itself.

    DataGridViewElement
    DataGridViewBand

    DataGridViewCheckBoxCell

    Displays a CheckBox icon (not the actual control) in a DataGridViewCell cell.

    public class DataGridViewCheckBoxCell : DataGridViewCell
    Public Class DataGridViewCheckBoxCell
        Inherits DataGridViewCell

    Constructors

    DataGridViewCheckBoxCell()

    Properties

    FalseValue

    Object: Gets or sets the value that corresponds to false, which appears as an unchecked box.

    FormattedValueType

    Type: Returns the type of the formatted value associated with the cell.

    IndeterminateValue

    Object: Gets or sets the value that corresponds to indeterminate, which appears as an indeterminate box.

    ThreeState

    Boolean: Returns or sets a value indicating if the checkbox cell supports three states.

    TrueValue

    Object: Gets or sets the value that corresponds to true, which appears as checked box.

    ValueType

    Type: Returns or sets the data type of the values in the cell.

    Methods

    ParseFormattedValue(value, cellStyle, formattedTypeConverter, valueTypeConverter)

    Converts a value to the actual cell value.

    Parameter
    Type
    Description

    value

    The display value of the cell.

    cellStyle

    The in effect for the cell.

    formattedTypeConverter

    A for the display value type, or null to use the default converter.

    Returns: Object. The cell value.

    Throws:

    • ArgumentNullException cellStyle is null.

    • FormatException The FormattedValueType property value is null or the ValueType property value is null or value cannot be converted.

    • ArgumentException value is null or the type of value does not match the type indicated by the FormattedValueType property.

    DataGridViewElement
    DataGridViewCell

    DataGridViewColumn

    • DataGridViewLinkColumn

    Represents a DataGridView column that contains a collection of DataGridViewLinkCell cells.

    public class DataGridViewLinkColumn : DataGridViewColumn
    Public Class DataGridViewLinkColumn
        Inherits DataGridViewColumn

    Constructors

    DataGridViewLinkColumn()

    Initializes a new instance of the DataGridViewLinkColumn class to the default state.

    DataGridViewLinkColumn(cellTemplate)

    Initializes a new instance of the DataGridViewLinkColumn class to the default state.

    Name
    Type
    Description

    cellTemplate

    An existing to use as a template.

    Properties

    CellTemplate

    DataGridViewCell: Returns or sets the template used to model cell appearance.

    Throws:

    • InvalidOperationException The type is null.

    • InvalidCastException The set type is not compatible with type DataGridViewLinkCell.

    LinkBehavior

    LinkBehavior: Returns or sets a value that represents the behavior of the link cell.

    This value is inherited by all the cells in the column that do not specify a value for this property.

    LinkColor

    Color: Returns or sets the color used when displaying a normal link.

    This value is inherited by all the cells in the column that do not specify a value for this property.

    Text

    String: Gets or sets the default text displayed on the button cell when UseColumnTextForButtonValue is true.

    Throws:

    • InvalidOperationException When setting this property, the value of the CellTemplate property is null.

    UseColumnTextForLinkValue

    Boolean: Gets or sets a value indicating if the link in the cell uses the owning column's text instead of the value of the cell.

    This value is inherited by all the cells in the column that do not specify a value for this property.

    ValueType

    Type: Returns or sets the data type of the values in the column's cells.

    Implements

    Name
    Description

    All wisej components implement this interface.

    Allows an object to serialize itself.

    DataGridViewElement
    DataGridViewBand

    NumericUpDown

    • DataGridViewNumericUpDownEditingControl

    Represents a NumericUpDown control that can be hosted in a DataGridViewNumericUpDownCell.

    public class DataGridViewNumericUpDownEditingControl : NumericUpDown, IDataGridViewEditingControl
    Public Class DataGridViewNumericUpDownEditingControl
        Inherits NumericUpDown
        Implements IDataGridViewEditingControl

    Constructors

    DataGridViewNumericUpDownEditingControl()

    Properties

    DataGridView

    DataGridView: Returns or sets the DataGridView that contains the text box control.

    Methods

    ApplyCellStyleToEditingControl(style)

    Adapts the edit control's properties to be consistent with the specified cell style.

    Parameter
    Type
    Description

    style

    The in effect for the cell entering edit mode.

    GetEditingControlFormattedValue()

    Retrieves the formatted value of the cell.

    Returns: String. An String that represents the formatted version of the cell contents.

    PrepareEditingControlForEdit(selectAll)

    Prepares the edit control for editing.

    Parameter
    Type
    Description

    selectAll

    true to select the cell contents; otherwise, false.

    Implements

    Name
    Description

    Defines common functionality for controls that are hosted within cells of a .

    Bindable components implement this interface.

    Provides access to the associated with the controls that implement this interface.

    Provides access to the property for coontrols that support the read-only mode.

    All wisej components implement this interface.

    Control
    UpDownBase
    Name
    Description

    AllCells

    The column widths adjust to fit the contents of all cells in the columns, including header cells.

    AllCellsExceptHeader

    The column widths adjust to fit the contents of all cells in the columns, excluding header cells.

    ColumnHeader

    The column widths adjust to fit the contents of the column header cells.

    DisplayedCells

    The column widths adjust to fit the contents of all cells in the columns that are in rows currently displayed, including header cells.

    DisplayedCellsExceptHeader

    The column widths adjust to fit the contents of all cells in the columns that are in rows currently displayed, excluding header cells.

    DoubleClick

    Used By

    Name
    Description

    Returns or sets a value indicating how column widths are determined.

    Adjusts the width of all columns using the specified size mode.

    Public Enum DataGridViewAutoSizeColumnsMode As [Enum]
    public enum DataGridViewAutoSizeColumnsMode : Enum
    DataGridViewDataUpdatedEventArgs(firstRow, lastRow)

    Initializes a new instance of the DataGridViewDataUpdatedEventArgs class.

    Name
    Type
    Description

    firstRow

    The index of the first row that has been updated on the client.

    lastRow

    The index of the last row that has been updated on the client.

    Properties

    FirstRow

    Int32: The index of the first DataGridViewRow that has been loaded on the client.

    LastRow

    Int32: The index of the last DataGridViewRow that has been loaded on the client.

    Used By

    Name
    Description

    Represents the method that will handle the event of a .

    DataUpdated
    Public Class DataGridViewDataUpdatedEventArgs
        Inherits EventArgs
    public class DataGridViewDataUpdatedEventArgs : EventArgs
    Name
    Type
    Description

    sender

    The source of the event.

    e

    A that contains the event data.

    Fired By

    Name
    Description

    Occurs when the client requests a set of rows from the server.

    DataRead
    Public Delegate Sub DataGridViewDataReadEventHandler(ByVal sender As [Object], ByVal e As DataGridViewDataReadEventArgs)
    public delegate void DataGridViewDataReadEventHandler(Object sender, DataGridViewDataReadEventArgs e)

    DataGridViewCellEventHandler

    Wisej.Web.DataGridViewCellEventHandler

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    Represents the method that will handle DataGridView events related to cell and row operations.

    public delegate void DataGridViewCellEventHandler(Object sender, DataGridViewCellEventArgs e)
    Public Delegate Sub DataGridViewCellEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellEventArgs)

    Parameters

    Name
    Type
    Description

    Fired By

    Name
    Description

    DataGridViewComboBoxEditingControl

    Wisej.Web.DataGridViewComboBoxEditingControl

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    • Control

      • ListControl

    Represents a control that can be hosted in a .

    Constructors

    DataGridViewComboBoxEditingControl()

    Initializes a new instance of the class.

    Properties

    DataGridView

    : Returns or sets the that contains the text box control.

    Methods

    ApplyCellStyleToEditingControl(cellStyle)

    Changes the control's user interface (UI) to be consistent with the specified cell style.

    Parameter
    Type
    Description

    GetEditingControlFormattedValue()

    Retrieves the formatted value of the cell.

    Returns: . An that represents the formatted version of the cell contents.

    PrepareEditingControlForEdit(selectAll)

    Prepares the currently selected cell for editing.

    Parameter
    Type
    Description

    Implements

    Name
    Description

    DataGridViewNumericUpDownColumn

    Wisej.Web.DataGridViewNumericUpDownColumn

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    • DataGridViewElement

      • DataGridViewBand

    Represents a column that contains a collection of cells.

    Constructors

    DataGridViewNumericUpDownColumn()

    Initializes a new instance of the class to the default state.

    DataGridViewNumericUpDownColumn(cellTemplate)

    Initializes a new instance of the class to the default state.

    Name
    Type
    Description

    Properties

    CellTemplate

    : Returns or sets the template used to model cell appearance.

    Throws:

    • The type is null.

    • The set type is not compatible with type .

    DecimalPlaces

    : Returns or sets the number of decimal places to display in the spin column (also known as an up-down column).

    Throws:

    • The value assigned is less than 0; or the value assigned is greater than 99.

    HideUpDownButtons

    : Returns or sets the visibility of the spinner buttons.

    Increment

    : Returns or sets the value to increment or decrement the spin box (also known as an up-down control) when the up or down buttons are clicked.

    Throws:

    • The assigned value is not greater than or equal to zero.

    Maximum

    : Returns or sets the maximum value for the spin column (also known as an up-down column).

    Minimum

    : Returns or sets the minimum allowed value for the spin column (also known as an up-down column).

    ThousandsSeparator

    : Returns or sets whether a thousands separator is displayed in the spin column (also known as an up-down column) when appropriate.

    ValueType

    : Returns or sets the data type of the values in the column's cells.

    Implements

    Name
    Description

    DataGridViewHeaderCell

    Wisej.Web.DataGridViewHeaderCell

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    • DataGridViewElement

      • DataGridViewCell

    Contains functionality common to row header cells and column header cells.

    Constructors

    DataGridViewHeaderCell()

    Properties

    Displayed

    :

    Frozen

    : Returns a value indicating whether the cell is frozen.

    ReadOnly

    : Returns a value indicating whether the header cell is read-only.

    Throws:

    • An operation tries to set this property.

    Resizable

    : Returns a value indicating whether the cell is resizable.

    Selected

    : Returns or sets whether the cell is selected.

    Throws:

    • This property is being set.

    ValueType

    : Returns the type of the value stored in the cell.

    Visible

    : Returns a value indicating whether or not the cell is visible.

    Methods

    Clone()

    Creates a copy of this cell.

    Returns: . The cloned .

    GetInheritedState(rowIndex)

    Returns a value indicating the current state of the cell as inherited from the state of its row or column.

    Parameter
    Type
    Description

    Returns: . A combination of values representing the current state of the cell.

    Throws:

    • The cell is a row header cell, the cell is not contained within a control, and rowIndex is not -1.- or -The cell is a row header cell, the cell is contained within a control, and rowIndex is outside the valid range of 0 to the number of rows in the control minus 1.- or -The cell is a row header cell and rowIndex is not the index of the row containing this cell.

    • The cell is a column header cell or the control's and rowIndex is not -1.

    Inherited By

    Name
    Description

    DataGridViewMaskedTextBoxEditingControl

    Wisej.Web.DataGridViewMaskedTextBoxEditingControl

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    • Control

      • TextBoxBase

    Represents a control that can be hosted in a cell.

    Constructors

    DataGridViewMaskedTextBoxEditingControl()

    Properties

    DataGridView

    : Returns or sets the that contains the text box control.

    TextLength

    : Returns the length of text in the control.

    Methods

    ApplyCellStyleToEditingControl(style)

    Adapts the edit control's properties to be consistent with the specified cell style.

    Parameter
    Type
    Description

    GetEditingControlFormattedValue()

    Retrieves the formatted value of the cell.

    Returns: . The formatted version of the cell's value.

    PrepareEditingControlForEdit(selectAll)

    Prepares the currently selected cell for editing.

    Parameter
    Type
    Description

    Implements

    Name
    Description

    DataGridViewCellFormattingEventArgs

    Wisej.Web.DataGridViewCellFormattingEventArgs

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    • ConvertEventArgs

      • DataGridViewCellFormattingEventArgs

    Provides data for the CellFormatting event of a .

    Constructors

    DataGridViewCellFormattingEventArgs(columnIndex, rowIndex, value, desiredType, cellStyle)

    Initializes a new instance of the class.

    Name
    Type
    Description

    Throws:

    • columnIndex is less than -1 or rowIndex is less than -1.

    Properties

    CellStyle

    : Returns or sets the style of the cell that is being formatted.

    ColumnIndex

    : Returns the column index of the cell that is being formatted.

    FormattingApplied

    : Returns or sets whether the cell value has been successfully formatted.

    RowIndex

    : Returns the row index of the cell that is being formatted.

    Used By

    Name
    Description

    DataGridViewCellEventArgs

    Wisej.Web.DataGridViewCellEventArgs

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    Provides data for DataGridView events related to cell and row operations.

    public class DataGridViewCellEventArgs : EventArgs
    Public Class DataGridViewCellEventArgs
        Inherits EventArgs

    Constructors

    DataGridViewCellEventArgs(columnIndex, rowIndex)

    Initializes a new instance of the class.

    Name
    Type
    Description

    Throws:

    • columnIndex is less than -1, or rowIndex is less than -1.

    Properties

    ColumnIndex

    : Returns a value indicating the column index of the cell that the event occurs for.

    Location

    : Returns the location of the mouse or pointer event.

    Role

    : Returns the internal role assigned to the element that generated the pointer event: checkbox, button, ...

    The value in the Role property is taken from the "role" attribute of the clicked element inside the cell. You can detect clicks on custom HTML content by adding the role attribute to the custom element.

    RowIndex

    : Returns a value indicating the row index of the cell that the event occurs for.

    X

    : Returns the x-coordinate of the mouse or touch event.

    Y

    : Returns the y-coordinate of the mouse or touch event.

    Used By

    Name
    Description

    DataGridViewCellValidatingEventArgs

    Wisej.Web.DataGridViewCellValidatingEventArgs

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    Provides data for the CellValidating event of a DataGridView control.

    public class DataGridViewCellValidatingEventArgs : CancelEventArgs
    Public Class DataGridViewCellValidatingEventArgs
        Inherits CancelEventArgs

    Properties

    ColumnIndex

    : Returns the column index of the cell that needs to be validated.

    FormattedValue

    : Return or sets the formatted contents of the cell that needs to be validated.

    RowIndex

    : Returns the row index of the cell that needs to be validated.

    Used By

    Name
    Description

    DataGridViewLinkCell

    Wisej.Web.DataGridViewLinkCell

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    • DataGridViewElement

      • DataGridViewCell

    Displays a link widget in a cell.

    Constructors

    DataGridViewLinkCell()

    Properties

    LinkBehavior

    : Returns or sets a value that represents the behavior of the link cell.

    LinkColor

    : Returns or sets the color used when displaying a normal link.

    UseColumnTextForLinkValue

    : Gets or sets a value indicating if the link in the cell uses the owning column's text instead of the value of the cell.

    ValueType

    : Returns or sets the data type of the values in the cell.

    CheckedListBox.ObjectCollection

    Wisej.Web.CheckedListBox ObjectCollection

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    Represents the collection of items in a

    DataGridViewDateTimePickerColumn

    Wisej.Web.DataGridViewDateTimePickerColumn

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    DataGridViewMaskedTextBoxCell

    Wisej.Web.DataGridViewMaskedTextBoxCell

    DataGridViewMaskedTextBoxCell

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    Int32

    Adjusts the width of the column to fit the DisplayedCells when the user double clicks the separator line to the right of the column.

    Fill

    The column widths adjust so that the widths of all columns exactly fill the display area of the control, requiring horizontal scrolling only to keep column widths above the MinimumWidth property values. Relative column widths are determined by the relative FillWeight property values.

    None

    The column widths do not automatically adjust.

    DataGridView.AutoSizeColumnsMode
    DataGridView.AutoResizeColumns
    Object
    DataGridViewDataReadEventArgs
    DataGridViewDataReadEventArgs
    DataGridView.DataRead

    columnIndex

    Int32

    The index of the column containing the cell that the event occurs for.

    rowIndex

    Int32

    The index of the row containing the cell that the event occurs for.

    DataGridViewCellEventHandler

    Represents the method that will handle DataGridView events related to cell and row operations.

    DataGridViewCellEventArgs
    ArgumentOutOfRangeException
    Int32
    Point
    String
    Int32
    Int32
    Int32

    DataGridViewCellValidatingEventHandler

    Represents the method that will handle the CellValidating event of a DataGridView control.

    Int32
    Object
    Int32

    IWisejComponent

    All wisej components implement this interface.

    IWisejControl

    All wisej controls derived from the Control class must implement this interface.

    IWisejSerializable

    Allows an object to serialize itself.

    DataGridViewCellStyle
    DataGridViewCellStyle
    Boolean
    IDataGridViewEditingControl
    DataGridView
    IBindableComponent
    ILabel
    LabelWrapper
    IReadOnly
    ReadOnly
    IModified
    Modified
    ModifiedChanged
    DataGridViewCheckBoxCell
    DataGridViewCheckBoxCell
    IWisejComponent
    IWisejSerializable

    valueTypeConverter

    TypeConverter

    A TypeConverter for the cell value type, or null to use the default converter.

    Object
    DataGridViewCellStyle
    DataGridViewCellStyle
    TypeConverter
    TypeConverter
    DataGridViewLinkCell
    DataGridViewLinkCell
    IWisejComponent
    IWisejSerializable

    IWisejControl

    All wisej controls derived from the Control class must implement this interface.

    IWisejSerializable

    Allows an object to serialize itself.

    DataGridViewCellStyle
    DataGridViewCellStyle
    Boolean
    IDataGridViewEditingControl
    DataGridView
    IBindableComponent
    ILabel
    LabelWrapper
    IReadOnly
    ReadOnly
    IWisejComponent
    Int32
    Int32
    DataGridViewDataUpdatedEventHandler
    DataUpdated
    DataGridView

    cellTemplate

    DataGridViewNumericUpDownCell

    An existing DataGridViewNumericUpDownCell to use as a template.

    IWisejComponent

    All wisej components implement this interface.

    IWisejSerializable

    Allows an object to serialize itself.

    DataGridViewColumn
    DataGridViewNumericUpDownColumn
    DataGridView
    DataGridViewNumericUpDownCell
    Public Class DataGridViewNumericUpDownColumn
        Inherits DataGridViewColumn
    DataGridViewNumericUpDownColumn
    DataGridViewNumericUpDownColumn
    DataGridViewCell
    InvalidOperationException
    InvalidCastException
    DataGridViewNumericUpDownCell
    Int32
    ArgumentOutOfRangeException
    Boolean
    Decimal
    ArgumentOutOfRangeException
    Decimal
    Decimal
    Boolean
    Type
    public class DataGridViewNumericUpDownColumn : DataGridViewColumn

    rowIndex

    Int32

    The index of the row containing the cell or -1 if the cell is not a row header cell or is not contained within a DataGridView control.

    DataGridViewColumnHeaderCell

    Represents a column header in a DataGridView control.

    DataGridViewRowHeaderCell

    Represents a row header of a DataGridView control.

    DataGridViewHeaderCell
    Public Class DataGridViewHeaderCell
        Inherits DataGridViewCell
    Boolean
    Boolean
    Boolean
    InvalidOperationException
    Boolean
    Boolean
    InvalidOperationException
    Type
    Boolean
    DataGridViewCell
    DataGridViewHeaderCell
    DataGridViewElementStates
    DataGridViewElementStates
    ArgumentException
    DataGridView
    DataGridView
    ArgumentOutOfRangeException
    TopLeftHeaderCell
    public class DataGridViewHeaderCell : DataGridViewCell
    DataGridViewLinkCell
    DataGridViewCell
    Public Class DataGridViewLinkCell
        Inherits DataGridViewCell
    LinkBehavior
    Color
    Boolean
    Type
    public class DataGridViewLinkCell : DataGridViewCell

    Occurs after the cell has finished validating.

    Fired when a row receives input focus but before it becomes the current row.

    Fired when a row loses input focus and is no longer the current row.

    Occurs after a row has finished validating.

    Fired when any part of a cell is clicked.

    Fired when the user double-clicks anywhere in a cell.

    Fired when the mouse pointer enters a cell.

    Fired when the mouse pointer leaves a cell.

    Fired when the value of the property of a cell changes.

    Fired when the value of the property of a cell changes.

    Fired when the user tabs past the last cell.

    sender

    Object

    The source of the event.

    e

    DataGridViewCellEventArgs

    A DataGridViewCellEventArgs that contains the event data.

    DataGridView.CellValueChanged

    Fired when the value of a cell changes.

    DataGridView.CellStyleChanged

    Fired when the Style property of a DataGridViewCell changes.

    DataGridView.CellEndEdit

    Fired when edit mode stops for the current cell.

    DataGridView.CellEnter

    Fired when the current cell changes in the DataGridView control or when the control receives input focus.

    DataGridView.CellLeave

    Fired when a cell loses input focus and is no longer the current cell.

    All wisej components implement this interface.

    All wisej controls derived from the class must implement this interface.

    Allows an object to serialize itself.

    cellStyle

    DataGridViewCellStyle

    The DataGridViewCellStyle to use as the model for the UI.

    selectAll

    Boolean

    true to select the cell contents; otherwise, false.

    IDataGridViewEditingControl

    Defines common functionality for controls that are hosted within cells of a DataGridView.

    IBindableComponent

    Bindable components implement this interface.

    ILabel

    Provides access to the LabelWrapper associated with the controls that implement this interface.

    IReadOnly

    Provides access to the ReadOnly property for coontrols that support the read-only mode.

    IModified

    Provides access to the Modified property and ModifiedChanged event for controls that implement this interface.

    ComboBox
    DataGridViewComboBoxEditingControl
    ComboBox
    DataGridViewComboBoxCell
    Public Class DataGridViewComboBoxEditingControl
        Inherits ComboBox
        Implements IDataGridViewEditingControl
    DataGridViewComboBoxEditingControl
    DataGridView
    DataGridView
    String
    String
    public class DataGridViewComboBoxEditingControl : ComboBox, IDataGridViewEditingControl

    All wisej components implement this interface.

    All wisej controls derived from the class must implement this interface.

    Allows an object to serialize itself.

    style

    DataGridViewCellStyle

    The DataGridViewCellStyle in effect for the cell entering edit mode.

    selectAll

    Boolean

    true to select the cell contents; otherwise, false.

    IDataGridViewEditingControl

    Defines common functionality for controls that are hosted within cells of a DataGridView.

    IBindableComponent

    Bindable components implement this interface.

    ILabel

    Provides access to the LabelWrapper associated with the controls that implement this interface.

    IReadOnly

    Provides access to the ReadOnly property for coontrols that support the read-only mode.

    IModified

    Provides access to the Modified property and ModifiedChanged event for controls that implement this interface.

    MaskedTextBox
    DataGridViewMaskedTextBoxEditingControl
    MaskedTextBox
    DataGridViewMaskedTextBoxCell
    Public Class DataGridViewMaskedTextBoxEditingControl
        Inherits MaskedTextBox
        Implements IDataGridViewEditingControl
    DataGridView
    DataGridView
    Int32
    String
    public class DataGridViewMaskedTextBoxEditingControl : MaskedTextBox, IDataGridViewEditingControl

    The type to convert value to.

    cellStyle

    The style of the cell that caused the event.

    columnIndex

    Int32

    The column index of the cell that caused the event.

    rowIndex

    Int32

    The row index of the cell that caused the event.

    value

    Object

    The cell's contents.

    DataGridViewCellFormattingEventHandler

    Represents the method that will handle the CellFormatting event of a DataGridView.

    DataGridView
    Public Class DataGridViewCellFormattingEventArgs
        Inherits ConvertEventArgs
    DataGridViewCellFormattingEventArgs
    ArgumentOutOfRangeException
    DataGridViewCellStyle
    Int32
    Boolean
    Int32
    public class DataGridViewCellFormattingEventArgs : ConvertEventArgs

    desiredType

    .
    public class ObjectCollection : ObjectCollection
    Public Class ObjectCollection
        Inherits ObjectCollection

    Methods

    Add(item)

    Adds an item to the list of items for a ListBox.

    Parameter
    Type
    Description

    item

    An object representing the item to add to the collection.

    Returns: Int32. The zero-based index of the item in the collection.

    Throws:

    • ArgumentNullException The item parameter was null.

    Add(item, isChecked)

    Adds an item to the list of items for a CheckedListBox.

    Parameter
    Type
    Description

    item

    An object representing the item to add to the collection.

    isChecked

    True to check the item.

    Returns: Int32. The zero-based index of the item in the collection.

    Throws:

    • ArgumentNullException The item parameter was null.

    Add(item, check)

    Adds an item to the list of items for a CheckedListBox.

    Parameter
    Type
    Description

    item

    An object representing the item to add to the collection.

    check

    The check state for the new item.

    Returns: Int32.

    AddRange(items)

    Adds a collection of items to the list.

    Parameter
    Type
    Description

    items

    Collection of items to add to the list.

    Clear()

    Removes all items from the CheckedListBox control.

    Insert(index, item)

    Inserts an item into the collection at the specified index.

    Parameter
    Type
    Description

    index

    The zero-based index location where the item is inserted.

    item

    An object representing the item to insert.

    Throws:

    • ArgumentNullException The item was null.

    • ArgumentOutOfRangeException The index was less than zero; or the index was greater than the count of items in the collection.

    Insert(index, item, check)

    Inserts an item into the collection at the specified index.

    Parameter
    Type
    Description

    index

    The zero-based index location where the item is inserted.

    item

    An object representing the item to insert.

    check

    The check state for the new item.

    Throws:

    • ArgumentNullException The item was null.

    • ArgumentOutOfRangeException The index was less than zero; or the index was greater than the count of items in the collection.

    RemoveAt(index)

    Removes an item from the ListBox at the specified index.

    Parameter
    Type
    Description

    index

    The index of the item to remove.

    Throws:

    • ArgumentOutOfRangeException The index parameter was less than zero, or the index parameter was greater than or equal to the count of items in the collection.

    ObjectCollection
    ObjectCollection
    CheckedListBox

    DataGridViewColumn

    • DataGridViewDateTimePickerColumn

    Represents a DataGridView column that contains a collection of DataGridViewDateTimePickerCell cells.

    public class DataGridViewDateTimePickerColumn : DataGridViewColumn
    Public Class DataGridViewDateTimePickerColumn
        Inherits DataGridViewColumn

    Constructors

    DataGridViewDateTimePickerColumn()

    Initializes a new instance of the DataGridViewDateTimePickerColumn class to the default state.

    DataGridViewDateTimePickerColumn(cellTemplate)

    Initializes a new instance of the DataGridViewDateTimePickerColumn class to the default state.

    Name
    Type
    Description

    cellTemplate

    An existing to use as a template.

    Properties

    CellTemplate

    DataGridViewCell: Returns or sets the template used to model cell appearance.

    Throws:

    • InvalidOperationException The type is null.

    • InvalidCastException The set type is not compatible with type DataGridViewDateTimePickerCell.

    CustomFormat

    String: Returns or sets the custom date/time format string.

    See Custom Date and Time Format Strings for the supported format definitions.

    DefaultCellStyle

    DataGridViewCellStyle: Returns or sets the column's default cell style.

    Format

    DateTimePickerFormat: Returns or sets the format of the date/time value displayed in the control.

    This value is inherited by all the cells in the column that do not specify a value for this property. Throws:

    • InvalidOperationException The value of the CellTemplate property is null.

    MaxDate

    DateTime: Returns or sets the maximum date and time that can be selected in the control.

    This value is inherited by all the cells in the column that do not specify a value for this property. Throws:

    • ArgumentException The value assigned is not less than the MaximumDate value (12/31/9998).

    • SystemException The value assigned is less than the MinimumDateTime value (01/01/1753).

    • InvalidOperationException The value of the CellTemplate property is null.

    MinDate

    DateTime: Returns or sets the minimum date and time that can be selected in the control.

    This value is inherited by all the cells in the column that do not specify a value for this property. Throws:

    • ArgumentException The value assigned is not less than the MaximumDate value (12/31/9998).

    • SystemException The value assigned is less than the MinimumDateTime value (01/01/1753).

    • InvalidOperationException The value of the CellTemplate property is null.

    ShowUpDown

    Boolean: Returns or sets a value indicating if a spin button control (up-down control) is displayed and can be used to adjust the date/time value.

    This value is inherited by all the cells in the column that do not specify a value for this property. Throws:

    • InvalidOperationException The value of the CellTemplate property is null.

    Tools

    ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.

    ValueType

    Type: Returns or sets the data type of the values in the column's cells.

    Implements

    Name
    Description

    All wisej components implement this interface.

    Allows an object to serialize itself.

    DataGridViewElement
    DataGridViewBand
    • DataGridViewCell

      • DataGridViewMaskedTextBoxCell

    Displays an editable MaskedTextBox control in a DataGridViewCell cell when in edit mode.

    public class DataGridViewMaskedTextBoxCell : DataGridViewCell
    Public Class DataGridViewMaskedTextBoxCell
        Inherits DataGridViewCell

    Constructors

    DataGridViewMaskedTextBoxCell()

    Properties

    Culture

    CultureInfo: Returns or sets the culture information associated with the masked cell.

    EditType

    Type: Returns the type of the cell's editing control.

    Mask

    String: Returns or sets the input mask.

    The Mask is a string that defines the masking characters and the literals to display and process during user input and when reading the Value property. Server side masking is processed by an instance of the MaskedTextProvider class exposed by the MaskedTextProvider property. On the client side, the mask processing is performed by the "wisej.utils.MaskProvider.js" class while the user edits the input field.

    Masking Character Description 0 Digit, required. This element will accept any single digit between 0 and 9. 9 Digit or space, optional.

    Digit or space, optional. If this position is blank in the mask, it will be rendered as a space in the Text property. Plus (+) and minus (-) signs are allowed. L Letter, required. Restricts input to the ASCII letters a-z and A-Z. This mask element is equivalent to [a-zA-Z] in regular expressions. ? Letter, optional. Restricts input to the ASCII letters a-z and A-Z. This mask element is equivalent to [a-zA-Z]? in regular expressions. & Character, required. This element behaves like the "L" element. C Character, optional. Any non-control character. This element behaves like the "?" element. A Alphanumeric, required. The only characters it will accept are the ASCII letters a-z and A-Z. This mask element behaves like the "a" element. a Alphanumeric, optional. The only characters it will accept are the ASCII letters a-z and A-Z. This mask element behaves like the "A" element. . Decimal placeholder. The actual display character used will be the decimal symbol appropriate to the format provider, as determined by the control's FormatProvider property. , Thousands placeholder. The actual display character used will be the thousands placeholder appropriate to the format provider, as determined by the control's FormatProvider property. : Time separator. The actual display character used will be the time symbol appropriate to the format provider, as determined by the control's FormatProvider property. / Date separator. The actual display character used will be the date symbol appropriate to the format provider, as determined by the control's FormatProvider property. $ Currency symbol. The actual character displayed will be the currency symbol appropriate to the format provider, as determined by the control's FormatProvider property. < Shift down. Converts all characters that follow to lowercase.

    Shift up. Converts all characters that follow to uppercase. | Disable a previous shift up or shift down. Escape. Escapes a mask character, turning it into a literal. "\" is the escape sequence for a backslash. Others Literals. All non-mask elements will appear as themselves within MaskedTextBox. Literals always occupy a static position in the mask at run time, and cannot be moved or deleted by the user. If you change the Mask when the control already contains a value, it will apply the new mask to the existing text. The decimal (.), thousand (,), time (:), date (/), and currency ($) symbols default to displaying those symbols as defined by the application's culture. You can force a specific DataGridViewMaskedTextBoxCell them to display symbols for another culture by using the Culture property. Otherwise you can set the application-wide culture by setting the CurrentCulture property.

    MaxInputLength

    Int32: Returns or sets the maximum number of characters that can be entered into the text box.

    Throws:

    • ArgumentOutOfRangeException The value is less than 0.

    PromptChar

    Char: Returns or sets the character used to represent the absence of user input in MaskedTextBox.

    Throws:

    • ArgumentException The character specified when setting this property is not a valid prompt character, as determined by the IsValidPasswordChar method of the MaskedTextProvider class.

    • InvalidOperationException The prompt character specified is the same as the current password character, PasswordChar. The two are required to be different.

    TextMaskFormat

    MaskFormat: Returns or sets a value that determines whether literals and prompt characters are included in the formatted string.

    Tools

    ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this cell.

    ValueType

    Type: Returns or sets the data type of the values in the cell.

    Methods

    InitializeEditingControl(editor, style)

    Initializes the control used to edit the cell.

    Parameter
    Type
    Description

    editor

    The that is used to edit the cell.

    style

    The that is in effect for the cell entering edit mode.

    Throws:

    • ArgumentNullException editor is null.

    DataGridViewElement

    ComboBox.ObjectCollection

    Wisej.Web.ComboBox ObjectCollection

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    Represents the collection of items in a Wisej.Web.ComboBox control.

    public class ObjectCollection : IList, ICollection, IEnumerable
    Public Class ObjectCollection
        Inherits IList
        Implements ICollection, IEnumerable

    Properties

    Count

    : Returns the number of items in the collection.

    IsReadOnly

    : Returns a value indicating whether this collection can be modified.

    Item(index)

    : Retrieves the item at the specified index within the collection.

    Throws:

    • The index was less than zero; or the index was greater of equal to the count of items in the collection.

    Methods

    Add(item)

    Adds an item to the list of items for a .

    Parameter
    Type
    Description

    Returns: . The zero-based index of the item in the collection.

    Throws:

    • The item parameter was null.

    AddRange(items)

    Adds a collection of items to the list.

    Parameter
    Type
    Description

    Clear()

    Removes all items from the .

    Contains(value)

    Determines if the specified item is located within the collection.

    Parameter
    Type
    Description

    Returns: . true if the item is located within the collection; otherwise, false.

    CopyTo(destination, index)

    Copies the entire collection into an existing array of objects at a specified location within the array.

    Parameter
    Type
    Description

    GetEnumerator()

    Returns an enumerator that can be used to iterate through the item collection.

    Returns: . A that represents the item collection.

    IndexOf(value)

    Retrieves the index within the collection of the specified item.

    Parameter
    Type
    Description

    Returns: . The zero-based index where the item is located within the collection; otherwise, -1.

    Throws:

    • The value parameter was null.

    Insert(index, item)

    Inserts an item into the collection at the specified index.

    Parameter
    Type
    Description

    Throws:

    • The item was null.

    • The index was less than zero; or the index was greater than the count of items in the collection.

    Remove(value)

    Removes the specified item from the .

    Parameter
    Type
    Description

    RemoveAt(index)

    Removes an item from the at the specified index.

    Parameter
    Type
    Description

    Throws:

    • The index parameter was less than zero, or the index parameter was greater than or equal to the count of items in the collection.

    Events

    CollectionChanged

    Fired when the collection changes.

    DataGridViewButtonColumn

    Wisej.Web.DataGridViewButtonColumn

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    • DataGridViewElement

      • DataGridViewBand

    Represents a column that contains a collection of cells.

    Constructors

    DataGridViewButtonColumn()

    Initializes a new instance of the class to the default state.

    DataGridViewButtonColumn(cellTemplate)

    Initializes a new instance of the class to the default state.

    Name
    Type
    Description

    Properties

    CellTemplate

    : Returns or sets the template used to model cell appearance.

    Throws:

    • The type is null.

    • The set type is not compatible with type .

    Text

    : Gets or sets the default text displayed on the button cell when UseColumnTextForButtonValue is true.

    Throws:

    • When setting this property, the value of the property is null.

    UseColumnTextForButtonValue

    : Gets or sets a value indicating if the button in the cell uses the owning column's text instead of the value of the cell.

    This value is inherited by all the cells in the column that do not specify a value for this property. Throws:

    • The property is null.

    ValueType

    : Returns or sets the data type of the values in the column's cells.

    Implements

    Name
    Description

    DataGridViewBand

    Wisej.Web.DataGridViewBand

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    Represents a linear collection of elements in a

    DataGridViewCellStyle

    Wisej.Web.DataGridViewCellStyle

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    Represents the formatting and style information applied to individual cells within a control.

    DataGridViewMaskedTextBoxColumn

    Wisej.Web.DataGridViewMaskedTextBoxColumn

    DataGridViewMaskedTextBoxColumn

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    DataGridViewColumnHeaderCell

    Wisej.Web.DataGridViewColumnHeaderCell

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    DataGridView.CellValidated
    DataGridView.RowEnter
    DataGridView.RowLeave
    DataGridView.RowValidated
    DataGridView.CellClick
    DataGridView.CellDoubleClick
    DataGridView.CellMouseEnter
    DataGridView.CellMouseLeave
    DataGridView.CellErrorTextChanged
    ErrorText
    DataGridView.CellToolTipTextChanged
    ToolTipText
    DataGridView.LastCellTab
    IWisejComponent
    IWisejControl
    Control
    IWisejSerializable
    IWisejComponent
    IWisejControl
    Control
    IWisejSerializable
    Type
    DataGridViewCellStyle

    item

    Object

    An object representing the item to add to the collection.

    items

    Object[]

    Collection of items to add to the list.

    value

    Object

    An object representing the item to locate in the collection.

    destination

    Object[]

    The object array to copy the collection to.

    index

    Int32

    The location in the destination array to copy the collection to.

    value

    Object

    An object representing the item to locate in the collection.

    index

    Int32

    The zero-based index location where the item is inserted.

    item

    Object

    An object representing the item to insert.

    value

    Object

    The Object to remove from the list.

    index

    Int32

    The index of the item to remove.

    Int32
    Boolean
    Object
    ArgumentOutOfRangeException
    ComboBox
    Int32
    ArgumentNullException
    ComboBox
    Boolean
    IEnumerator
    IEnumerator
    Int32
    ArgumentNullException
    ArgumentNullException
    ArgumentOutOfRangeException
    ComboBox
    ComboBox
    ArgumentOutOfRangeException
    CollectionChangeEventHandler
    Object
    Object
    Boolean
    Object
    CheckState
    Object[]
    Int32
    Object
    Int32
    Object
    CheckState
    Int32
    DataGridViewDateTimePickerCell
    DataGridViewDateTimePickerCell
    IWisejComponent
    IWisejSerializable
    Control
    Control
    DataGridViewCellStyle
    DataGridViewCellStyle

    cellTemplate

    DataGridViewButtonCell

    An existing DataGridViewButtonCell to use as a template.

    IWisejComponent

    All wisej components implement this interface.

    IWisejSerializable

    Allows an object to serialize itself.

    DataGridViewColumn
    DataGridViewButtonColumn
    DataGridView
    DataGridViewButtonCell
    Public Class DataGridViewButtonColumn
        Inherits DataGridViewColumn
    DataGridViewButtonColumn
    DataGridViewButtonColumn
    DataGridViewCell
    InvalidOperationException
    InvalidCastException
    DataGridViewButtonCell
    String
    InvalidOperationException
    CellTemplate
    Boolean
    InvalidOperationException
    CellTemplate
    Type
    public class DataGridViewButtonColumn : DataGridViewColumn
    control.
    public class DataGridViewBand : DataGridViewElement, ICloneable
    Public Class DataGridViewBand
        Inherits DataGridViewElement
        Implements ICloneable

    Properties

    ContextMenu

    ContextMenu: Returns or sets the shortcut menu for the row or the column object.

    DefaultCellStyle

    DataGridViewCellStyle: Returns or sets the default cell style of the band.

    DefaultHeaderCellType

    Type: Returns or sets the run-time type of the default header cell.

    Throws:

    • ArgumentException The specified value when setting this property is not a Type representing DataGridViewHeaderCell or a derived type.

    Displayed

    Boolean: Returns a value indicating whether the band is currently displayed on screen.

    Frozen

    Boolean: Returns or sets whether the band will move when a user scrolls through the DataGridView.

    HasDefaultCellStyle

    Boolean: Returns a value indicating whether the DefaultCellStyle property has been set.

    HasUserData

    Boolean: Checks if the UserData dynamic object was created and has any value.

    Index

    Int32: Returns the relative position of the band within the DataGridView control.

    InheritedStyle

    DataGridViewCellStyle: Returns the cell style in effect for the current band, taking into account style inheritance.

    IsRow

    Boolean: Returns true when the implementation class is DataGridViewRow.

    ReadOnly

    Boolean: Returns or sets whether the user can edit the band's cells.

    Resizable

    DataGridViewTriState: Returns or sets whether the band can be resized in the user interface (UI).

    Selected

    Boolean: Returns or sets whether the band is in a selected user interface (UI) state.

    Tag

    Object: Returns or sets the object that contains data to associate with the band.

    UserData

    Object: Returns a dynamic object that can be used to store custom data in relation to this band.

    Visible

    Boolean: Returns or sets whether the band is visible to the user.

    Throws:

    • InvalidOperationException The specified value when setting this property is false and the band is the row for new records.

    Methods

    Clone()

    Creates an exact copy of this band.

    Returns: Object. An Object that represents the cloned DataGridViewBand.

    Inherited By

    Name
    Description

    Represents a column that contains a collection of cells.

    Represents a column that contains a collection of cells.

    Represents a column in a control.

    Represents a column that contains a collection of cells.

    Represents a column that contains a collection of cells.

    DataGridViewElement
    DataGridViewBand
    DataGridView
    Constructors

    DataGridViewCellStyle()

    Initializes a new instance of the DataGridViewCellStyle class using default property values.

    Properties

    Alignment

    DataGridViewContentAlignment: Returns or sets a value indicating the position of the cell content within a DataGridViewCell cell.

    BackColor

    Color: Returns or sets the background color of a DataGridViewCell cell.

    BackgroundImage

    Image: Returns or sets the background image displayed in a DataGridViewCell cell.

    BackgroundImageAlign

    ContentAlignment: Returns or sets the background image alignment as defined in the ContentAlignment enumeration.

    BackgroundImageLayout

    ImageLayout: Returns or sets the background image layout as defined in the ImageLayout enumeration.

    BackgroundImageSource

    String: Returns or sets the theme name or URL for the background image displayed in a DataGridViewCell cell.

    ColSpan

    Int32: Returns or sets the number of columns that this cell can use to render its content.

    Throws:

    • ArgumentOutOfRangeException The value is lower than 1 or greater than 100.

    CssClass

    String: Returns or sets additional CSS class names to add to the DataGridViewCell.

    CssStyle

    String: Returns or sets the custom CSS styles to apply to the DataGridViewCell.

    You can use any CSS style string.

    DataSourceNullValue

    Object: Returns or sets the value saved to the data source when the user enters a null value into a cell.

    Font

    Font: Returns or sets the font applied to the textual content of a DataGridViewCell cell.

    ForeColor

    Color: Returns or sets the foreground color of a DataGridViewCell cell.

    Format

    String: Returns or sets the format string applied to the textual content of a DataGridView cell.

    FormatProvider

    IFormatProvider: Returns or sets the object used to provide culture-specific formatting of DataGridView cell values.

    IsDataSourceNullValueDefault

    Boolean: Returns a value indicating whether the DataSourceNullValue property has been set.

    IsFormatProviderDefault

    Boolean: Returns a value that indicates whether the FormatProvider property has been set.

    IsNullValueDefault

    Boolean: Returns a value indicating whether the NullValue property has been set.

    NullValue

    Object: Returns or sets the DataGridView cell display value corresponding to a cell value of Value or null.

    Padding

    Padding: Returns or sets the space between the edge of a DataGridViewCell and its content.

    RowSpan

    Int32: Returns or sets the number of rows that this cell can use to render its content.

    Throws:

    • ArgumentOutOfRangeException The value is lower than 1 or greater than 100.

    Scope

    DataGridViewCellStyleScopes: Returns the scope (the type of object) that owns the cell style.

    Tag

    Object: Returns or sets an object that contains additional data related to the DataGridViewCellStyle.

    WrapMode

    DataGridViewTriState: Returns or sets whether textual content in a DataGridViewCell cell is wrapped to subsequent lines or truncated when it is too long to fit on a single line.

    Methods

    Clone()

    Creates an exact copy of this DataGridViewCellStyle.

    Returns: DataGridViewCellStyle. A DataGridViewCellStyle that represents an exact copy of this cell style.

    Dispose()

    Releases all resources used by the DataGridViewCellStyle.

    ResetDataSourceNullValue()

    ResetFormatProvider()

    ResetNullValue()

    ResetWrapMode()

    DataGridView
    Public Class DataGridViewCellStyle
        Inherits ICloneable
        Implements IHasPropertyStore, IDisposable
    public class DataGridViewCellStyle : ICloneable, IHasPropertyStore, IDisposable
    • DataGridViewBand

      • DataGridViewColumn

        • DataGridViewMaskedTextBoxColumn

    Represents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.

    public class DataGridViewMaskedTextBoxColumn : DataGridViewColumn
    Public Class DataGridViewMaskedTextBoxColumn
        Inherits DataGridViewColumn

    Constructors

    DataGridViewMaskedTextBoxColumn()

    Initializes a new instance of the DataGridViewMaskedTextBoxColumn.

    DataGridViewMaskedTextBoxColumn(cellTemplate)

    Initializes a new instance of the DataGridViewMaskedTextBoxColumn.

    Name
    Type
    Description

    cellTemplate

    An existing to use as a template.

    Properties

    CellTemplate

    DataGridViewCell: Returns or sets the template used to model cell appearance.

    Throws:

    • InvalidOperationException The type is null.

    • InvalidCastException The set type is not compatible with type DataGridViewTextBoxCell.

    Culture

    CultureInfo: Returns or sets the culture information associated with the masked cell.

    Mask

    String: Returns or sets the input mask.

    The Mask is a string that defines the masking characters and the literals to display and process during user input and when reading the Value property. Server side masking is processed by an instance of the MaskedTextProvider class exposed by the MaskedTextProvider property. On the client side, the mask processing is performed by the "wisej.utils.MaskProvider.js" class while the user edits the input field.

    Masking Character Description 0 Digit, required. This element will accept any single digit between 0 and 9. 9 Digit or space, optional.

    Digit or space, optional. If this position is blank in the mask, it will be rendered as a space in the Text property. Plus (+) and minus (-) signs are allowed. L Letter, required. Restricts input to the ASCII letters a-z and A-Z. This mask element is equivalent to [a-zA-Z] in regular expressions. ? Letter, optional. Restricts input to the ASCII letters a-z and A-Z. This mask element is equivalent to [a-zA-Z]? in regular expressions. & Character, required. This element behaves like the "L" element. C Character, optional. Any non-control character. This element behaves like the "?" element. A Alphanumeric, required. The only characters it will accept are the ASCII letters a-z and A-Z. This mask element behaves like the "a" element. a Alphanumeric, optional. The only characters it will accept are the ASCII letters a-z and A-Z. This mask element behaves like the "A" element. . Decimal placeholder. The actual display character used will be the decimal symbol appropriate to the format provider, as determined by the control's FormatProvider property. , Thousands placeholder. The actual display character used will be the thousands placeholder appropriate to the format provider, as determined by the control's FormatProvider property. : Time separator. The actual display character used will be the time symbol appropriate to the format provider, as determined by the control's FormatProvider property. / Date separator. The actual display character used will be the date symbol appropriate to the format provider, as determined by the control's FormatProvider property. $ Currency symbol. The actual character displayed will be the currency symbol appropriate to the format provider, as determined by the control's FormatProvider property. < Shift down. Converts all characters that follow to lowercase.

    Shift up. Converts all characters that follow to uppercase. | Disable a previous shift up or shift down. Escape. Escapes a mask character, turning it into a literal. "\" is the escape sequence for a backslash. Others Literals. All non-mask elements will appear as themselves within MaskedTextBox. Literals always occupy a static position in the mask at run time, and cannot be moved or deleted by the user. If you change the Mask when the control already contains a value, it will apply the new mask to the existing text. The decimal (.), thousand (,), time (:), date (/), and currency ($) symbols default to displaying those symbols as defined by the application's culture. You can force a specific DataGridViewMaskedTextBoxColumn them to display symbols for another culture by using the Culture property. Otherwise you can set the application-wide culture by setting the CurrentCulture property.

    MaxInputLength

    Int32: Returns or sets the maximum number of characters that can be entered into the text box.

    This value is inherited by all the cells in the column that do not specify a value for this property. Throws:

    • InvalidOperationException The value of the CellTemplate property is null.

    PromptChar

    Char: Returns or sets the character used to represent the absence of user input in the cell's MaskedTextBox.

    Throws:

    • ArgumentException The character specified when setting this property is not a valid prompt character, as determined by the IsValidPasswordChar method of the MaskedTextProvider class.

    • InvalidOperationException The prompt character specified is the same as the current password character, PasswordChar. The two are required to be different.

    ShowMask

    Boolean: Returns or sets whether the empty mask is shown in the cell when the value is null or empty.

    TextMaskFormat

    MaskFormat: Returns or sets a value that determines whether literals and prompt characters are included in the formatted string.

    Tools

    ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.

    ValueType

    Type: Returns or sets the data type of the values in the column's cells.

    Implements

    Name
    Description

    All wisej components implement this interface.

    Allows an object to serialize itself.

    DataGridViewElement

    DataGridViewHeaderCell

    • DataGridViewColumnHeaderCell

    Represents a column header in a DataGridView control.

    public class DataGridViewColumnHeaderCell : DataGridViewHeaderCell
    Public Class DataGridViewColumnHeaderCell
        Inherits DataGridViewHeaderCell

    Constructors

    DataGridViewColumnHeaderCell()

    Properties

    ErrorText

    String: This property is not relevant for this class.

    SortGlyphDirection

    SortOrder: Returns or sets a value indicating which sort glyph is displayed.

    Throws:

    • InvalidOperationException When setting this property, the value of either the OwningColumn property or the DataGridView property of the cell is null. or When changing the value of this property, the specified value is not None and the value of the SortMode property of the owning column is NotSortable.

    Methods

    GetInheritedStyle(includeVisualProperties)

    Returns the style applied to the column header cell.

    Parameter
    Type
    Description

    includeVisualProperties

    true to include inherited visual properties; otherwise, false to include only formatting properties.

    Returns: DataGridViewCellStyle. A DataGridViewCellStyle that includes the style of the column header cell and the style inherited from the DataGridView.

    Throws:

    • InvalidOperationException The cell has no associated DataGridView.

    DataGridViewElement
    DataGridViewCell

    CheckedListBox

    Wisej.Web.CheckedListBox

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    DataGridViewComboBoxCell.ObjectCollection

    Wisej.Web.DataGridViewComboBoxCell ObjectCollection

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    Represents the collection of items in a cell.

    DataGridViewComboBoxCell

    Wisej.Web.DataGridViewComboBoxCell

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    DataGridViewElement

    Wisej.Web.DataGridViewElement

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    Provides the base class for elements of a control.

    Constructors

    DataGridViewElementStates

    Wisej.Web.DataGridViewElementStates

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    Specifies the user interface (UI) state of a element within a control.

    Fields

    
      // add a double underline to the cell.
      this.dataGridView1[3, 4].Style.CssStyle = "border-bottom:2px solid black";
    

    DataGridViewImageColumn

    Represents a DataGridView column that contains a collection of DataGridViewImageCell cells.

    DataGridViewLinkColumn

    Represents a DataGridView column that contains a collection of DataGridViewLinkCell cells.

    DataGridViewMaskedTextBoxColumn

    Represents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.

    DataGridViewNumericUpDownColumn

    Represents a DataGridView column that contains a collection of DataGridViewNumericUpDownCell cells.

    DataGridViewTextBoxColumn

    Represents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.

    DataGridViewRow

    Represents a row in a DataGridView control.

    DataGridViewSummaryRow

    Represents a summary row in a DataGridView control.

    DataGridViewButtonColumn
    DataGridView
    DataGridViewButtonCell
    DataGridViewCheckBoxColumn
    DataGridView
    DataGridViewCheckBoxCell
    DataGridViewColumn
    DataGridView
    DataGridViewComboBoxColumn
    DataGridView
    DataGridViewComboBoxCell
    DataGridViewDateTimePickerColumn
    DataGridView
    DataGridViewDateTimePickerCell
    DataGridViewMaskedTextBoxCell
    DataGridViewMaskedTextBoxCell
    IWisejComponent
    IWisejSerializable
    Boolean

    ListBox

    • CheckedListBox

    Displays a ListBox in which a check box is displayed to the left of each item.

    public class CheckedListBox : ListBox
    Public Class CheckedListBox
        Inherits ListBox

    Constructors

    CheckedListBox()

    Initializes a new instance of the CheckedListBox class.

    Properties

    CheckedIndices

    CheckedIndexCollection: Collection of checked indexes in the CheckedListBox.

    CheckedItems

    CheckedObjectCollection: Collection of checked items in the CheckedListBox.

    CheckOnClick

    Boolean: Returns or sets whether list items are checked when they are clicked. The default is to check the item when clicking on the checkbox icon.

    CheckStateMember

    String: Returns or sets the property to bind to the CheckState of the items in the CheckedListBox control.

    Items

    ObjectCollection: Returns the collection of items in this CheckedListBox.

    Methods

    ClearChecked()

    Unchecks all items in the CheckedListBox.

    GetItemChecked(index)

    Returns a value indicating whether the specified item is checked.

    Parameter
    Type
    Description

    index

    The index of the item.

    Returns: Boolean. true if the item is checked; otherwise, false.

    Throws:

    • ArgumentException The index specified is less than zero; or the index specified is greater than or equal to the count of items in the list.

    GetItemCheckState(index)

    Returns a value indicating the check state of the current item.

    Parameter
    Type
    Description

    index

    The index of the item to get the checked value of.

    Returns: CheckState. One of the CheckState values.

    Throws:

    • ArgumentOutOfRangeException The index specified is less than zero; or the index specified is greater than or equal to the count of items in the list.

    SetItemChecked(index, value)

    Sets CheckState for the item at the specified index to Checked.

    Parameter
    Type
    Description

    index

    The index of the item to set the check state for.

    value

    true to set the item as checked; otherwise, false.

    Throws:

    • ArgumentException The index specified is less than zero; or the index is greater than the count of items in the list.

    SetItemCheckState(index, value)

    Sets the check state of the item at the specified index.

    Parameter
    Type
    Description

    index

    The index of the item to set the state for.

    value

    One of the values.

    Throws:

    • ArgumentOutOfRangeException The index specified is less than zero; or the index is greater than or equal to the count of items in the list.

    Events

    AfterItemCheck

    ItemCheckEventHandler Fired after the checked state of an item changes.

    CheckStateMemberChanged

    EventHandler Fired when the CheckStateMember property changes.

    Click

    EventHandler Fired when the user clicks the CheckedListBox control.

    ItemCheck

    ItemCheckEventHandler Fired when the checked state of an item changes.

    MouseClick

    MouseEventHandler Fired when the user clicks the CheckedListBox control with the mouse.

    Implements

    Name
    Description

    Bindable components implement this interface.

    Provides access to the associated with the controls that implement this interface.

    Provides access to the property for coontrols that support the read-only mode.

    Provides access to the property and event for controls that implement this interface.

    All wisej components implement this interface.

    Control
    ListControl
    Properties

    Count

    Int32: Returns the number of items in the collection.

    IsReadOnly

    Boolean: Returns a value indicating whether this collection can be modified.

    Item(index)

    Object: Retrieves the item at the specified index within the collection.

    Throws:

    • ArgumentOutOfRangeException The index was less than zero; or the index was greater of equal to the count of items in the collection.

    Methods

    Add(item)

    Adds an item to the list of items for a DataGridViewComboBoxColumn.

    Parameter
    Type
    Description

    item

    An object representing the item to add to the collection.

    Returns: Int32. The zero-based index of the item in the collection.

    Throws:

    • ArgumentNullException The item parameter was null.

    AddRange(items)

    Adds a collection of items to the list.

    Parameter
    Type
    Description

    items

    Collection of items to add to the list.

    Clear()

    Removes all items from the DataGridViewComboBoxColumn.

    Contains(value)

    Determines if the specified item is located within the collection.

    Parameter
    Type
    Description

    value

    An object representing the item to locate in the collection.

    Returns: Boolean. true if the item is located within the collection; otherwise, false.

    CopyTo(destination, index)

    Copies the entire collection into an existing array of objects at a specified location within the array.

    Parameter
    Type
    Description

    destination

    The object array to copy the collection to.

    index

    The location in the destination array to copy the collection to.

    GetEnumerator()

    Returns an enumerator that can be used to iterate through the item collection.

    Returns: IEnumerator. A IEnumerator that represents the item collection.

    IndexOf(value)

    Retrieves the index within the collection of the specified item.

    Parameter
    Type
    Description

    value

    An object representing the item to locate in the collection.

    Returns: Int32. The zero-based index where the item is located within the collection; otherwise, -1.

    Throws:

    • ArgumentNullException The value parameter was null.

    Insert(index, item)

    Inserts an item into the collection at the specified index.

    Parameter
    Type
    Description

    index

    The zero-based index location where the item is inserted.

    item

    An object representing the item to insert.

    Throws:

    • ArgumentNullException The item was null.

    • ArgumentOutOfRangeException The index was less than zero; or the index was greater than the count of items in the collection.

    Remove(value)

    Removes the specified item from the DataGridViewComboBoxColumn.

    Parameter
    Type
    Description

    value

    The to remove from the list.

    RemoveAt(index)

    Removes an item from the DataGridViewComboBoxColumn at the specified index.

    Parameter
    Type
    Description

    index

    The index of the item to remove.

    Throws:

    • ArgumentOutOfRangeException The index parameter was less than zero, or the index parameter was greater than or equal to the count of items in the collection.

    Events

    CollectionChanged

    CollectionChangeEventHandler Fired when the collection changes.

    DataGridViewComboBoxCell
    Public Class ObjectCollection
        Inherits IList
        Implements ICollection, IEnumerable
    public class ObjectCollection : IList, ICollection, IEnumerable

    DataGridViewComboBoxCell

    Displays an editable ComboBox control in a DataGridViewCell cell when in edit mode.

    public class DataGridViewComboBoxCell : DataGridViewCell
    Public Class DataGridViewComboBoxCell
        Inherits DataGridViewCell

    Constructors

    DataGridViewComboBoxCell()

    Properties

    AutoCompleteMode

    AutoCompleteMode: Returns or sets how automatic completion works for the DataGridViewComboBoxColumn.

    CharacterCasing

    CharacterCasing: Returns or sets whether the cell editor modifies the case of characters as they are typed.

    DataSource

    Object: Returns or sets the data source that contains the possible selections shown in the drop-down list.

    Throws:

    • ArgumentException The specified value when setting this property is not null and is not of type IList nor IListSource.

    DisplayMember

    String: Returns or sets the name of the property or column from which to retrieve the text to display in the combo box cell.

    Throws:

    • ArgumentException The DataSource property is not null and the specified value when setting this property is not null or Empty and does not name a valid property or column in the data source.

    DropDownStyle

    ComboBoxStyle: Returns or sets the style of the combo box.

    EditType

    Type: Returns the type of the cell's hosted editing control.

    IconMember

    String: Returns or sets the name of the property or column from which to get the icon to use in the drop-down list.

    Throws:

    • ArgumentException The DataSource property is not null and the specified value when setting this property is not null or Empty and does not name a valid property or column in the data source.

    IncrementalSelection

    Boolean: Returns or sets whether items are selected incrementally as the user types within a timeout of 1 second.

    Items

    ObjectCollection: Returns the collection of the items contained in this DataGridViewComboBoxCell.

    LazyLoading

    Boolean: Enables or disables lazy loading mode for the ComboBox cell editor control.

    MaxInputLength

    Int32: Returns or sets the maximum number of characters that can be entered into the editable part of the combo box control.

    Throws:

    • ArgumentOutOfRangeException The value is less than 0.

    Sorted

    Boolean: Returns or sets if the items in the combo box editor are automatically sorted.

    Throws:

    • ArgumentException An attempt was made to sort a cell that is attached to a data source.

    Tools

    ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this cell.

    ValueMember

    String: Returns or sets the name of the property or column from which to get the value that correspond to the selections in the drop-down list.

    Throws:

    • ArgumentException The DataSource property is not null and the specified value when setting this property is not null or Empty and does not name a valid property or column in the data source.

    ValueType

    Type: Returns or sets the data type of the values in the cell.

    VirtualScroll

    Boolean: Enables or disables virtual scrolling mode for the ComboBox cell editor control.

    Watermark

    String: Returns or sets the text to show when the control is empty.

    Methods

    ParseFormattedValue(value, cellStyle, formattedTypeConverter, valueTypeConverter)

    Converts a value to the actual cell value.

    Parameter
    Type
    Description

    value

    The display value of the cell.

    cellStyle

    The in effect for the cell.

    formattedTypeConverter

    A for the display value type, or null to use the default converter.

    Returns: Object. The cell value.

    Throws:

    • ArgumentNullException cellStyle is null.

    • FormatException The FormattedValueType property value is null or the ValueType property value is null or value cannot be converted.

    • ArgumentException value is null or the type of value does not match the type indicated by the FormattedValueType property.

    Events

    ItemsCollectionChanged

    EventHandler Fired when the collection changes.

    DataGridViewElement
    DataGridViewCell
    DataGridViewElement()

    Properties

    DataGridView

    DataGridView: Returns the DataGridView control associated with this element.

    State

    DataGridViewElementStates: Returns the user interface (UI) state of the element.

    Methods

    Dispose()

    Releases all resources used by the DataGridViewElement.

    Inherited By

    Name
    Description

    Displays a button widget in a cell.

    Represents a column that contains a collection of cells.

    Displays a icon (not the actual control) in a cell.

    Represents a column that contains a collection of cells.

    Represents a column in a control.

    DataGridView
    Public Class DataGridViewElement
        Inherits IDisposable
        Implements IHasPropertyStore
    public class DataGridViewElement : IDisposable, IHasPropertyStore
    Name
    Description

    Displayed

    The element is currently displayed.

    Frozen

    The element belongs to a frozen (fixed) band.

    None

    Default state.

    ReadOnly

    The element will not accept user input to change its value.

    Resizable

    The element can be resized. This value is ignored except when combined with the value.

    Used By

    Name
    Description

    Returns the number of columns that match the includeFilter .

    Returns the width, in pixels, required to display all of the columns that meet the includeFilter .

    Returns the first in display order that matches the includeFilter and excludeFilter .

    Returns the last in display order that matches the includeFilter and excludeFilter .

    Returns the first after the given column in display order that matches the includeFilter and excludeFilter .

    DataGridView
    Public Enum DataGridViewElementStates As [Enum]
    public enum DataGridViewElementStates : Enum

    DataGridViewComboBoxColumn

    Wisej.Web.DataGridViewComboBoxColumn

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    ResizableSet

    The element does not inherit the resizable state of its parent.

    Selected

    The element is selected.

    Visible

    The element is visible (can be displayed or it's already displayed).

    DataGridViewColumnCollection.GetPreviousColumn

    Returns the last DataGridViewColumn prior to the given column in display order that matches the includeFilter and excludeFilter .

    DataGridViewRowCollection.GetRowCount

    Returns the number of rows that match the includeFilter .

    DataGridViewRowCollection.GetRowsHeight

    Returns the cumulative height of the DataGridViewRow objects that match the includeFilter .

    DataGridViewRowCollection.GetFirstRowIndex

    Returns the index of the first DataGridViewRow that matches the specified includeFilter and excludeFilter .

    DataGridViewRowCollection.GetFirstRow

    Returns the first DataGridViewRow that matches the specified includeFilter and excludeFilter .

    DataGridViewRowCollection.GetLastRowIndex

    Returns the index of the last DataGridViewRow that matches the includeFilter and excludeFilter .

    DataGridViewRowCollection.GetLastRow

    Returns the last DataGridViewRow that matches the includeFilter and excludeFilter .

    DataGridViewRowCollection.GetNextRowIndex

    Returns the index of the next DataGridViewRow after startRow that matches the includeFilter and excludeFilter .

    DataGridViewRowCollection.GetNextRow

    Returns the next DataGridViewRow after startRow that matches the includeFilter and excludeFilter .

    DataGridViewRowCollection.GetPreviousRowIndex

    Returns the index of the previous DataGridViewRow before startRow that matches the includeFilter and excludeFilter .

    DataGridViewRowCollection.GetPreviousRow

    Returns the previous DataGridViewRow before startRow that matches the includeFilter and excludeFilter .

    DataGridViewRowCollection.GetRowState

    Returns the state of the DataGridViewRow at the specified index.

    DataGridView.GetRowState

    Returns the state of the DataGridViewRow at the specified index.

    DataGridViewCell.InheritedState

    Returns the current state of the cell as inherited from the state of its row and column.

    DataGridViewCell.GetInheritedState

    Returns a value indicating the current state of the cell as inherited from the state of its row and column.

    DataGridViewElement.State

    Returns the user interface (UI) state of the element.

    DataGridViewHeaderCell.GetInheritedState

    Returns a value indicating the current state of the cell as inherited from the state of its row or column.

    DataGridViewCellStateChangedEventArgs.StateChanged

    Returns the state that has changed on the cell.

    DataGridViewColumnStateChangedEventArgs.StateChanged

    Returns the new column state.

    DataGridViewRowStateChangedEventArgs.StateChanged

    Returns the state that has changed on the row.

    ResizableSet
    DataGridViewColumnCollection.GetColumnCount
    DataGridViewColumnCollection.GetColumnsWidth
    DataGridViewColumnCollection.GetFirstColumn
    DataGridViewColumn
    DataGridViewColumnCollection.GetLastColumn
    DataGridViewColumn
    DataGridViewColumnCollection.GetNextColumn
    DataGridViewColumn

    IWisejControl

    All wisej controls derived from the Control class must implement this interface.

    IWisejSerializable

    Allows an object to serialize itself.

    Int32
    Int32
    Int32
    Boolean
    Int32
    CheckState
    CheckState
    IBindableComponent
    ILabel
    LabelWrapper
    IReadOnly
    ReadOnly
    IModified
    Modified
    ModifiedChanged
    IWisejComponent
    Object
    Object[]
    Object
    Object[]
    Int32
    Object
    Int32
    Object
    Object
    Object
    Int32

    valueTypeConverter

    TypeConverter

    A TypeConverter for the cell value type, or null to use the default converter.

    Object
    DataGridViewCellStyle
    DataGridViewCellStyle
    TypeConverter
    TypeConverter

    DataGridViewComboBoxCell

    Displays an editable ComboBox control in a DataGridViewCell cell when in edit mode.

    DataGridViewComboBoxColumn

    Represents a DataGridView column that contains a collection of DataGridViewComboBoxCell cells.

    DataGridViewDateTimePickerCell

    Displays an editable DateTimePicker control in a DataGridViewCell cell when in edit mode.

    DataGridViewDateTimePickerColumn

    Represents a DataGridView column that contains a collection of DataGridViewDateTimePickerCell cells.

    DataGridViewImageCell

    Displays an image in a DataGridViewCell cell.

    DataGridViewImageColumn

    Represents a DataGridView column that contains a collection of DataGridViewImageCell cells.

    DataGridViewLinkCell

    Displays a link widget in a DataGridViewCell cell.

    DataGridViewLinkColumn

    Represents a DataGridView column that contains a collection of DataGridViewLinkCell cells.

    DataGridViewMaskedTextBoxCell

    Displays an editable MaskedTextBox control in a DataGridViewCell cell when in edit mode.

    DataGridViewMaskedTextBoxColumn

    Represents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.

    DataGridViewNumericUpDownCell

    Displays an editable NumericUpDown control in a DataGridViewCell cell when in edit mode.

    DataGridViewNumericUpDownColumn

    Represents a DataGridView column that contains a collection of DataGridViewNumericUpDownCell cells.

    DataGridViewTextBoxCell

    Displays an editable TextBox control in a DataGridViewCell cell when in edit mode.

    DataGridViewTextBoxColumn

    Represents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.

    DataGridViewBand

    Represents a linear collection of elements in a DataGridView control.

    DataGridViewCell

    Represents an individual cell in a DataGridView control.

    DataGridViewColumnHeaderCell

    Represents a column header in a DataGridView control.

    DataGridViewHeaderCell

    Contains functionality common to row header cells and column header cells.

    DataGridViewRow

    Represents a row in a DataGridView control.

    DataGridViewRowHeaderCell

    Represents a row header of a DataGridView control.

    DataGridViewSummaryRow

    Represents a summary row in a DataGridView control.

    DataGridViewButtonCell
    DataGridViewCell
    DataGridViewButtonColumn
    DataGridView
    DataGridViewButtonCell
    DataGridViewCheckBoxCell
    CheckBox
    DataGridViewCell
    DataGridViewCheckBoxColumn
    DataGridView
    DataGridViewCheckBoxCell
    DataGridViewColumn
    DataGridView

    DataGridViewColumn

    • DataGridViewComboBoxColumn

    Represents a DataGridView column that contains a collection of DataGridViewComboBoxCell cells.

    public class DataGridViewComboBoxColumn : DataGridViewColumn
    Public Class DataGridViewComboBoxColumn
        Inherits DataGridViewColumn

    Constructors

    DataGridViewComboBoxColumn()

    Initializes a new instance of the DataGridViewComboBoxColumn class to the default state.

    DataGridViewComboBoxColumn(cellTemplate)

    Initializes a new instance of the DataGridViewComboBoxColumn class to the default state.

    Name
    Type
    Description

    cellTemplate

    An existing to use as a template.

    Properties

    AutoCompleteMode

    AutoCompleteMode: Returns or sets how automatic completion works for the DataGridViewComboBoxColumn.

    CellTemplate

    DataGridViewCell: Returns or sets the template used to model cell appearance.

    Throws:

    • InvalidOperationException The type is null.

    • InvalidCastException The set type is not compatible with type DataGridViewComboBoxCell.

    CharacterCasing

    CharacterCasing: Returns or sets whether the cell editor modifies the case of characters as they are typed.

    DataSource

    Object: Returns or sets the data source that populates the selections for the combo boxes.

    DisplayMember

    String: Returns or sets the name of the property or column from which to retrieve the text to display in the combo box cell.

    DropDownStyle

    ComboBoxStyle: Returns or sets the drop down style of the combo box.

    IconMember

    String: Returns or sets the name of the property or column from which to get the icon to use in the drop-down list.

    IncrementalSelection

    Boolean: Returns or sets whether items are selected incrementally as the user types within a timeout of 1 second.

    Items

    ObjectCollection: Returns the collection of the items contained in this DataGridViewComboBoxColumn.

    Throws:

    • InvalidOperationException The value of the CellTemplate property is null.

    LazyLoading

    Boolean: Enables or disables lazy loading mode for the ComboBox cell editor control.

    MaxInputLength

    Int32: Returns or sets the maximum number of characters that can be entered into the editable part of the combo box control.

    Throws:

    • InvalidOperationException The value of the CellTemplate property is null.

    Sorted

    Boolean: Returns or sets if the items in the combo box editor are automatically sorted.

    Throws:

    • ArgumentException An attempt was made to sort a cell that is attached to a data source.

    Tools

    ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.

    ValueMember

    String: Returns or sets the name of the property or column from which to get the value that correspond to the selections in the drop-down list.

    ValueType

    Type: Returns or sets the data type of the values in the column's cells.

    VirtualScroll

    Boolean: Enables or disables virtual scrolling mode for the ComboBox cell editor control.

    Watermark

    String: Returns or sets the text to show when the textbox is empty.

    Implements

    Name
    Description

    All wisej components implement this interface.

    Allows an object to serialize itself.

    DataGridViewElement
    DataGridViewBand
    DataGridViewComboBoxCell
    DataGridViewButtonCell
    IWisejComponent
    IWisejSerializable

    DataGridViewColumn

    Wisej.Web.DataGridViewColumn

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    • DataGridViewElement

      • DataGridViewBand

    Represents a column in a control.

    Constructors

    DataGridViewColumn()

    Initializes a new instance of the class to the default state.

    DataGridViewColumn(cellTemplate)

    Initializes a new instance of the class using an existing as a template.

    Name
    Type
    Description

    Properties

    AllowHtml

    : Returns or sets a value indicating that the column can display HTML text.

    When AllowHtml is set to true, the text in the cell can contain HTML content. If the text contains new lines (CRLF) but doesn't contain HTML elements (at least one "<") all CRLF are automatically substituted with " ".

    AutoEllipsis

    : Returns or sets whether the ellipsis character (...) appears at the right edge of the cell, denoting that the text extends beyond the size of the cell.

    AutoSizeMode

    : Gets or sets the mode by which the column automatically adjusts its width.

    Throws:

    • The specified value when setting this property results in an value of for a visible column when column headers are hidden; or the specified value when setting this property results in an value of for a visible column that is frozen.

    ContextMenu

    : Gets or sets the context menu for the column.

    DataPropertyName

    : Returns or sets the name of the data source property or database column to which the is bound.

    DefaultCellStyle

    : Returns or sets the column's default cell style.

    DisplayIndex

    : Returns or sets the display order of the column relative to the currently displayed columns.

    Throws:

    • is not null and the specified value when setting this property is less than 0 or greater than or equal to the number of columns in the control; or is null and the specified value when setting this property is less than -1; or the specified value when setting this property is equal to .

    Editor

    : Returns or sets the editor component used to edit cells in this column.

    FillWeight

    : Returns or sets a value that represents the width of the column when it is in fill mode relative to the widths of other fill-mode columns in the control.

    Throws:

    • The specified value when setting this property is less than or equal to 0.

    Frozen

    : Returns or sets whether a column will move when a user scrolls the control horizontally.

    HasResponsiveProfiles

    : Check if the component defines any responsive profile without forcing the creation of the collection.

    HeaderCell

    : Returns or sets the that represents the column header.

    HeaderImage

    : Returns or sets the image that is displayed in a column header.

    HeaderImageSource

    : Returns or sets the theme name or URL for the image to display in the column header.

    HeaderStyle

    : Returns or sets the column's header style.

    HeaderText

    : Returns or sets the caption text on the column's header cell.

    InheritedAutoSizeMode

    : Returns the sizing mode in effect for the column.

    InheritedSortMode

    : Returns the sort mode in effect for the column.

    IsDataBound

    : Gets a value indicating whether the column is bound to a data source.

    IsRow

    : Returns true when the implementation class is DataGridViewRow.

    MaximumWidth

    : Returns or sets the maximum width, in pixels, of the column.

    Throws:

    • The value is less than 0 or greater than 32000.

    MinimumWidth

    : Returns or sets the minimum width, in pixels, of the column.

    Throws:

    • The value is less than 2 or greater than 32000.

    Movable

    : Returns or sets whether the user can move the column.

    Setting this property to inherits the value of . Otherwise the value of this property overrides the behavior determined in .

    Name

    : Returns or sets the name of the column.

    ReadOnly

    : Returns or sets whether the user can edit the column's cells.

    Throws:

    • This property is set to false for a column that is bound to a read-only data source.

    Resizable

    : Returns or sets whether the column is resizable.

    Selected

    : Returns or sets whether the column is selected.

    ShowInVisibilityMenu

    : Returns or sets whether the column should be included in the visibility menu.

    SortMode

    : Returns or sets the sort mode for the column.

    ToolTipText

    : Returns or sets the text used for ToolTips.

    UserPaint

    : Enables or disables the user paint feature for all the cells in this column. When UserPaint is true, the application can handle the event to draw custom content in each cell.

    ValueType

    : Returns or sets the data type of the values in the column's cells.

    Visible

    : Returns or sets whether the column is visible.

    Width

    : Returns or sets the current width of the column.

    Throws:

    • The specified value when setting this property is greater than 65536.

    Methods

    Clone()

    Returns: . An that represents the cloned .

    ResetWidth()

    Resets the width to the default value.

    Update()

    Updates the component on the client.

    Events

    Disposed

    Fired when the is disposed.

    Inherited By

    Name
    Description

    Implements

    Name
    Description

    Represents a column that contains a collection of cells.

    Represents a column that contains a collection of cells.

    Represents a column that contains a collection of cells.

    Represents a column that contains a collection of cells.

    cellTemplate

    DataGridViewCell

    An existing DataGridViewCell to use as a template.

    DataGridViewButtonColumn

    Represents a DataGridView column that contains a collection of DataGridViewButtonCell cells.

    DataGridViewCheckBoxColumn

    Represents a DataGridView column that contains a collection of DataGridViewCheckBoxCell cells.

    DataGridViewComboBoxColumn

    Represents a DataGridView column that contains a collection of DataGridViewComboBoxCell cells.

    DataGridViewDateTimePickerColumn

    Represents a DataGridView column that contains a collection of DataGridViewDateTimePickerCell cells.

    DataGridViewImageColumn

    Represents a DataGridView column that contains a collection of DataGridViewImageCell cells.

    IWisejComponent

    All wisej components implement this interface.

    IWisejSerializable

    Allows an object to serialize itself.

    DataGridViewColumn
    DataGridView
    Public Class DataGridViewColumn
        Inherits DataGridViewBand
        Implements IWisejComponent, IWisejSerializable, IComponent, IHasResponsiveProfiles
    DataGridViewColumn
    DataGridViewColumn
    DataGridViewCell
    Boolean
    Boolean
    DataGridViewAutoSizeColumnMode
    InvalidOperationException
    InheritedAutoSizeMode
    ColumnHeader
    InheritedAutoSizeMode
    Fill
    ContextMenu
    String
    DataGridViewColumn
    DataGridViewCellStyle
    Int32
    ArgumentOutOfRangeException
    DataGridView
    DataGridView
    MaxValue
    Control
    Single
    ArgumentOutOfRangeException
    Boolean
    DataGridView
    Boolean
    DataGridViewColumnHeaderCell
    DataGridViewColumnHeaderCell
    Image
    String
    DataGridViewCellStyle
    String
    DataGridViewAutoSizeColumnMode
    DataGridViewColumnSortMode
    Boolean
    Boolean
    Int32
    ArgumentOutOfRangeException
    Int32
    ArgumentOutOfRangeException
    DataGridViewTriState
    NotSet
    AllowUserToOrderColumns
    AllowUserToOrderColumns
    String
    Boolean
    InvalidOperationException
    DataGridViewTriState
    Boolean
    Boolean
    DataGridViewColumnSortMode
    String
    Boolean
    CellPaint
    Type
    Boolean
    Int32
    ArgumentOutOfRangeException
    Object
    Object
    DataGridViewColumn
    EventHandler
    DataGridViewColumn
    public class DataGridViewColumn : DataGridViewBand, IWisejComponent, IWisejSerializable, IComponent, IHasResponsiveProfiles

    DataGridViewLinkColumn
    DataGridView
    DataGridViewLinkCell
    DataGridViewMaskedTextBoxColumn
    DataGridView
    DataGridViewTextBoxCell
    DataGridViewNumericUpDownColumn
    DataGridView
    DataGridViewNumericUpDownCell
    DataGridViewTextBoxColumn
    DataGridView
    DataGridViewTextBoxCell

    DataGridViewCellCollection

    Wisej.Web.DataGridViewCellCollection

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    • BaseCollection

      • DataGridViewCellCollection

    Represents a collection of cells in a DataGridViewRow.

    Constructors

    DataGridViewCellCollection(row)

    Initializes a new instance of the class.

    Name
    Type
    Description

    Properties

    Item(column)

    : Returns or sets the cell contained in the specified column .

    Throws:

    • The specified value when setting this property is null; or column is null.

    • The specified cell when setting this property already belongs to a control, or the specified cell when setting this property already belongs to a

    • column is null.

    Item(index)

    : Returns or sets the cell at the provided index location.

    Throws:

    • The specified value when setting this property is null.

    • The specified cell when setting this property already belongs to a control, or the specified cell when setting this property already belongs to a .

    • index is less than 0 or index is equal to or greater than the number of cells in the collection.

    Item(columnName)

    : Returns or sets the cell in the column with the provided name.

    Throws:

    • columnName does not match the name of any columns in the control.

    • The specified value when setting this property is null; or columnName is null.

    • The specified cell when setting this property already belongs to a control, or the specified cell when setting this property already belongs to a .

    Methods

    Add(cell)

    Adds a cell to the collection.

    Parameter
    Type
    Description

    Returns: . The position in which to insert the new element.

    Throws:

    • The row that owns this already belongs to a control, or cell already belongs to a .

    AddRange(cells)

    Adds an array of cells to the collection.

    Parameter
    Type
    Description

    Throws:

    • cells is null.

    • The row that owns this already belongs to a control, or at least one value in cells is null, or at least one cell in cells already belongs to a , or at least two values in cells are references to the same .

    AddRangeInternal(cells)

    Adds an array of cells to the collection.

    Parameter
    Type
    Description

    Throws:

    • cells is null.

    • The row that owns this already belongs to a control, or at least one value in cells is null, or at least one cell in cells already belongs to a , or at least two values in cells are references to the same .

    Clear()

    Clears all cells from the collection.

    Throws:

    • The row that owns this already belongs to a control.

    Contains(cell)

    Determines whether the specified cell is contained in the collection.

    Parameter
    Type
    Description

    Returns: . true if cell is in the collection; otherwise, false.

    CopyTo(array, index)

    Copies the entire collection of cells into an array at a specified location within the array.

    Parameter
    Type
    Description

    IndexOf(cell)

    Returns the index of the specified cell.

    Parameter
    Type
    Description

    Returns: . The zero-based index of the value of cell parameter, if it is found in the collection; otherwise, -1.

    Insert(index, cell)

    Inserts a cell into the collection at the specified index.

    Parameter
    Type
    Description

    Throws:

    • The row that owns this already belongs to a control, or cell already belongs to a .

    Remove(cell)

    Removes the specified cell from the collection.

    Parameter
    Type
    Description

    Throws:

    • The row that owns this already belongs to a control.

    • cell could not be found in the collection.

    RemoveAt(index)

    Removes the cell at the specified index.

    Parameter
    Type
    Description

    Throws:

    • The row that owns this already belongs to a control.

    Events

    CollectionChanged

    Fired when the collection changes.

    ComboBox

    Wisej.Web.ComboBox

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    DataGridViewCell

    Wisej.Web.DataGridViewCell

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    Represents an individual cell in a

    ArgumentException The specified column does not belong to the same DataGridView that owns the cells.

  • ArgumentOutOfRangeException The index of the specified column is less than 0 or is equal to or greater than the number of cells in the collection.

  • row

    DataGridViewRow

    The DataGridViewRow that owns the collection.

    cell

    DataGridViewCell

    A DataGridViewCell to add to the collection.

    cells

    DataGridViewCell[]

    The array of DataGridViewCell objects to add to the collection.

    cells

    DataGridViewCell[]

    The array of DataGridViewCell objects to add to the collection.

    cell

    DataGridViewCell

    A DataGridViewCell to locate in the collection.

    array

    DataGridViewCell[]

    The destination array to which the contents will be copied.

    index

    Int32

    The index of the element in array at which to start copying.

    cell

    DataGridViewCell

    The cell to locate in the collection.

    index

    Int32

    The zero-based index at which to place cell .

    cell

    DataGridViewCell

    The DataGridViewCell to insert.

    cell

    DataGridViewCell

    The DataGridViewCell to remove from the collection.

    index

    Int32

    The zero-based index of the DataGridViewCell to be removed.

    Public Class DataGridViewCellCollection
        Inherits BaseCollection
        Implements IList, IList(Of DataGridViewCell), ICollection(Of DataGridViewCell), IEnumerable(Of DataGridViewCell)
    DataGridViewCellCollection
    DataGridViewCell
    ArgumentNullException
    InvalidOperationException
    DataGridView
    DataGridViewRow
    ArgumentNullException
    DataGridViewCell
    ArgumentNullException
    InvalidOperationException
    DataGridView
    DataGridViewRow
    ArgumentOutOfRangeException
    DataGridViewCell
    ArgumentException
    ArgumentNullException
    InvalidOperationException
    DataGridView
    DataGridViewRow
    Int32
    InvalidOperationException
    DataGridViewCellCollection
    DataGridView
    DataGridViewRow
    ArgumentNullException
    InvalidOperationException
    DataGridViewCellCollection
    DataGridView
    DataGridViewRow
    DataGridViewCell
    ArgumentNullException
    InvalidOperationException
    DataGridViewCellCollection
    DataGridView
    DataGridViewRow
    DataGridViewCell
    InvalidOperationException
    DataGridViewCellCollection
    DataGridView
    Boolean
    Int32
    InvalidOperationException
    DataGridViewCellCollection
    DataGridView
    DataGridViewRow
    InvalidOperationException
    DataGridViewCellCollection
    DataGridView
    ArgumentException
    InvalidOperationException
    DataGridViewCellCollection
    DataGridView
    CollectionChangeEventHandler
    public class DataGridViewCellCollection : BaseCollection, IList, IList<DataGridViewCell>, ICollection<DataGridViewCell>, IEnumerable<DataGridViewCell>

    ComboBox

    Represents a combo box control.

    public class ComboBox : ListControl, IModified, ILabel, IReadOnly
    Public Class ComboBox
        Inherits ListControl
        Implements IModified, ILabel, IReadOnly

    Constructors

    ComboBox()

    Initializes an instance of ComboBox.

    Properties

    AllowHtml

    Boolean: Returns or sets a value indicating that the control can display html in the Text property.

    AutoCompleteMode

    AutoCompleteMode: Returns or sets how automatic completion works for the ComboBox.

    AutoSize

    Boolean: Returns or sets whether the height of the control is set automatically.

    CharacterCasing

    CharacterCasing: Returns or sets whether the ComboBox control modifies the case of characters as they are typed.

    DropDownHeight

    Int32: Returns or sets the maximum height in pixels of the drop-down portion of the ComboBox.

    Throws:

    • ArgumentException The specified value is less than one.

    DropDownStyle

    ComboBoxStyle: Returns or sets the drop down style of the combo box.

    DropDownWidth

    Int32: Returns or sets the maximum width in pixels of the drop-down list of the ComboBox. When the value is 0, the drop-down list will grow to fit the largest item.

    Throws:

    • ArgumentException The specified value is less than one.

    DroppedDown

    Boolean: Returns or sets whether the combo box is displaying its drop-down portion.

    EnableNativeContextMenu

    Boolean: Enables or disables the browser's context menu.

    IncrementalSelection

    Boolean: Returns or sets whether items are selected incrementally as the user types within a timeout of 1 second.

    ItemHeight

    Int32: Gets or sets the height of the list items in the drop-down list. When the value is -1, uses the value set in the theme.

    Throws:

    • ArgumentOutOfRangeException The assigned value is less than -1; or the assigned value is greater than 500.

    Items

    ObjectCollection: Returns the collection of the items contained in this ComboBox.

    Label

    LabelWrapper: Provides a label related to the control.

    LabelText

    String: Returns or sets the localizable label associated with this control.

    LazyLoading

    Boolean: Returns or sets whether the items are sent to the client the first time the list is opened and enables the Load event.

    MaxLength

    Int32: Returns or sets the number of characters a user can type into the ComboBox.

    Throws:

    • ArgumentOutOfRangeException The value is less than 0.

    ReadOnly

    Boolean: Returns or sets whether the control is read-only.

    SelectedIndex

    Int32: Returns or sets the index of the currently selected item.

    Throws:

    • ArgumentOutOfRangeException The specified index is less than -1; o the specified index is greater than the number of items in the combo box.

    SelectedItem

    Object: Returns or sets currently selected item in the ComboBox.

    SelectedText

    String: Returns or sets the text that is selected in the editable portion of a ComboBox.

    SelectionLength

    Int32: Returns or sets the number of characters selected in the editable portion of the combo box.

    Throws:

    • ArgumentException The value was less than zero.

    SelectionStart

    Int32: Returns or sets the starting index of text selected in the combo box.

    Throws:

    • ArgumentException The value is less than zero.

    Sorted

    Boolean: Returns or sets whether the items in the combo box are sorted.

    Throws:

    • ArgumentException An attempt was made to sort a ComboBox that is attached to a data source.

    SpellCheck

    Boolean: Returns or sets whether the text in the ComboBox is spell checked by the browser.

    Text

    String: Returns or sets the text associated with this control.

    Tools

    ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.

    Watermark

    String: Returns or sets the text to show when the control is empty.

    Methods

    BeginUpdate()

    Not used. Kept for compatibility.

    Copy()

    Copies the current selection in the text box to the Clipboard.

    Cut()

    Moves the current selection in the text box to the Clipboard.

    EndUpdate()

    Not used. Kept for compatibility.

    FindString(text)

    Returns the index of the first item in the ComboBox that starts with the specified string.

    Parameter
    Type
    Description

    text

    The to search for.

    Returns: Int32. The zero-based index of the first item found; returns -1 if no match is found.

    FindString(text, startIndex)

    Returns the index of the first item in the ComboBox beyond the specified index that contains the specified string. The search is not case sensitive.

    Parameter
    Type
    Description

    text

    The to search for.

    startIndex

    The zero-based index of the item before the first item to be searched. Set to -1 to search from the beginning of the control.

    Returns: Int32. The zero-based index of the first item found; returns -1 if no match is found, or 0 if the text parameter specifies Empty.

    FindStringExact(text)

    Finds the first item in the combo box that matches the specified string.

    Parameter
    Type
    Description

    text

    The to search for.

    Returns: Int32. The zero-based index of the first item found; returns -1 if no match is found, or 0 if the text parameter specifies Empty.

    FindStringExact(text, startIndex)

    Finds the first item after the specified index that matches the specified string.

    Parameter
    Type
    Description

    text

    The to search for.

    startIndex

    The zero-based index of the item before the first item to be searched. Set to -1 to search from the beginning of the control.

    Returns: Int32. The zero-based index of the first item found; returns -1 if no match is found, or 0 if the text parameter specifies Empty.

    Paste()

    Replaces the current selection in the text box with the contents of the Clipboard.

    Select(start, length)

    Selects a range of text in the editable portion of the ComboBox.

    Parameter
    Type
    Description

    start

    The position of the first character in the current text selection within the text box.

    length

    The number of characters to select.

    SelectAll()

    Selects all the text in the editable portion of the ComboBox.

    Events

    AutoComplete

    HandledEventHandler Fired when before the Validating event when the DropDownStyle is set to DropDown or Simple.

    The application may implement a different way to select the item when the user types a text and the ComboBox is validated. Set e.Handled to true to override the standard behavior.

    DropDown

    EventHandler Fired when the drop-down portion of a ComboBox is shown.

    DropDownClosed

    EventHandler Fired when the drop-down portion of the ComboBox is no longer visible.

    DropDownStyleChanged

    EventHandler Fired when the DropDownStyle property has changed.

    Load

    EventHandler Fired when the drop-down list is first opened and the LazyLoading property is true.

    When LazyLoading is true An application may fill the items at any time prior to the drop-down list being opened, or while processing the DropDown or Load event.

    ReadOnlyChanged

    EventHandler Fired when the value of the ReadOnly property has changed.

    SelectedIndexChanged

    EventHandler Fired when the SelectedIndex property has changed.

    SelectedItemChanged

    EventHandler Fired when the SelectedItem property has changed.

    SelectionChangeCommitted

    EventHandler Fired when the selected item has changed and that change is displayed in the ComboBox.

    SortedChanged

    EventHandler Fired when the Sorted property has changed.

    ToolClick

    ToolClickEventHandler Fired when a ComponentTool is clicked.

    Inherited By

    Name
    Description

    Represents a control that can be hosted in a .

    The TreeViewComboBox control represents a control with a as the drop down panel.

    The TreeViewComboBox control represents a control with a as the drop down panel.

    The UserComboBox control represents a control with a custom panel that drops down when the user clicks the down arrow.

    Implements

    Name
    Description

    Bindable components implement this interface.

    Provides access to the associated with the controls that implement this interface.

    Provides access to the property for coontrols that support the read-only mode.

    Provides access to the property and event for controls that implement this interface.

    All wisej components implement this interface.

    Control
    ListControl
    control.
    public class DataGridViewCell : DataGridViewElement, ICloneable
    Public Class DataGridViewCell
        Inherits DataGridViewElement
        Implements ICloneable

    Constructors

    DataGridViewCell()

    Properties

    ColumnIndex

    Int32: Returns the column index for this cell.

    ContextMenu

    ContextMenu: Returns or sets the shortcut menu associated with the cell.

    Control

    Control: Returns or sets a child control to display inside the cell.

    DataGridView

    DataGridView: Returns the DataGridView control associated with this DataGridViewCell.

    DefaultNewRowValue

    Object: Returns the default value for a cell in the row for new records.

    Displayed

    Boolean: Returns a value that indicates whether the cell is currently displayed.

    Editable

    Boolean: Returns whether the cell can be edited.

    EditedFormattedValue

    Object: Returns the current, formatted value of the cell, regardless of whether the cell is in edit mode and the value has not been committed.

    Throws:

    • ArgumentOutOfRangeException The row containing the cell is a shared row; or the cell is a column header cell.

    • InvalidOperationException ColumnIndex is less than 0, indicating that the cell is a row header cell.

    • Exception Formatting failed and either there is no handler for the DataError event of the DataGridView control or the handler set the ThrowException property to true. The exception object can typically be cast to type FormatException.

    ErrorText

    String: Returns or sets the text describing an error condition associated with the cell.

    FormattedValue

    Object: Returns the value of the cell as formatted for display.

    Throws:

    • InvalidOperationException ColumnIndex is less than 0, indicating that the cell is a row header cell.

    • ArgumentOutOfRangeException The row containing the cell is a shared row; or the cell is a column header cell.

    • Exception Formatting failed and either there is no handler for the DataError event of the DataGridView control or the handler set the ThrowException property to true. The exception object can typically be cast to type FormatException.

    FormattedValueType

    Type: Returns the type of the formatted value associated with the cell.

    Frozen

    Boolean: Returns a value indicating whether the cell is frozen.

    HasStyle

    Boolean: Returns true it the Style property has been set.

    HasUserData

    Boolean: Checks if the UserData dynamic object was created and has any value.

    Height

    Int32: Returns the height of the cell.

    InheritedState

    DataGridViewElementStates: Returns the current state of the cell as inherited from the state of its row and column.

    Throws:

    • ArgumentException The cell is not contained within a DataGridView control and the value of its RowIndex property is not -1.

    • ArgumentOutOfRangeException The cell is contained within a DataGridView control and the value of its RowIndex property is -1.

    InheritedStyle

    DataGridViewCellStyle: Returns the style currently applied to the cell.

    Throws:

    • InvalidOperationException The cell does not belong to a DataGridView control; or ColumnIndex is less than 0, indicating that the cell is a row header cell.

    • ArgumentOutOfRangeException The row containing the cell is a shared row; or the cell is a column header cell.

    IsCurrentCell

    Boolean: Returns whether this is the current cell in the DataGridView.

    IsInEditMode

    Boolean: Returns a value indicating whether this cell is currently being edited.

    OwningColumn

    DataGridViewColumn: Returns the column that contains this cell.

    OwningRow

    DataGridViewRow: Returns the row that contains this cell.

    ReadOnly

    Boolean: Returns or sets whether the cell's data can be edited.

    Resizable

    Boolean: Returns a value indicating whether the cell can be resized.

    RowIndex

    Int32: Returns the index of the cell's parent row.

    Selected

    Boolean: Returns or sets whether the cell has been selected.

    Size

    Size: Returns the size of the cell.

    Style

    DataGridViewCellStyle: Returns or sets the style for the cell.

    Tag

    Object: Returns or sets the object that contains supplemental data about the cell.

    ToolTipText

    String: Returns or sets the ToolTip text associated with this cell.

    UserData

    Object: Returns a dynamic object that can be used to store custom data in relation to this cell.

    UserPaint

    Boolean: Enables or disables the user paint feature for this cell. When UserPaint is true, the application can handle the CellPaint event to draw custom content in the cell.

    Value

    Object: Returns or sets the value associated with this cell.

    Throws:

    • ArgumentOutOfRangeException RowIndex is outside the valid range of 0 to the number of rows in the control minus 1.

    • InvalidOperationException ColumnIndex is less than 0, indicating that the cell is a row header cell.

    ValueType

    Type: Returns or sets the data type of the values in the cell.

    Visible

    Boolean: Returns a value indicating whether the cell is in a row or column that has been hidden.

    Width

    Int32: Returns the width of the cell.

    Methods

    Clone()

    Creates a copy of this cell.

    Returns: DataGridViewCell. The cloned DataGridViewCell.

    GetEditedFormattedValue()

    Returns the current, formatted value of the cell, regardless the cell being in edit mode.

    Returns: Object. The current, formatted value of the DataGridViewCell.

    Throws:

    • Exception Formatting failed and either there is no handler for the DataError event of the DataGridView control or the handler set the ThrowException property to true. The exception object can typically be cast to type FormatException.

    GetInheritedState(rowIndex)

    Returns a value indicating the current state of the cell as inherited from the state of its row and column.

    Parameter
    Type
    Description

    rowIndex

    The index of the row containing the cell.

    Returns: DataGridViewElementStates. A combination of DataGridViewElementStates values representing the current state of the cell.

    Throws:

    • ArgumentException The cell is not contained within a DataGridView control and rowIndex is not -1 or rowIndex is not the index of the row containing this cell.

    • ArgumentOutOfRangeException The cell is contained within a DataGridView control and rowIndex is outside the valid range of 0 to the number of rows in the control minus 1.

    GetInheritedStyle(includeVisualProperties)

    Returns the style applied to the cell.

    Parameter
    Type
    Description

    includeVisualProperties

    true to include inherited visual properties; otherwise, false to include only formatting properties.

    Returns: DataGridViewCellStyle. A DataGridViewCellStyle that includes the style settings of the cell inherited from the cell's parent row, column, and DataGridView.

    Throws:

    • InvalidOperationException The cell has no associated DataGridView.

    ParseFormattedValue(value, cellStyle, formattedTypeConverter, valueTypeConverter)

    Converts a value to the actual cell value.

    Parameter
    Type
    Description

    value

    The display value of the cell.

    cellStyle

    The in effect for the cell.

    formattedTypeConverter

    A for the display value type, or null to use the default converter.

    Returns: Object. The cell value.

    Throws:

    • ArgumentNullException cellStyle is null.

    • FormatException The FormattedValueType property value is null or the ValueType property value is null or value cannot be converted.

    • ArgumentException value is null or the type of value does not match the type indicated by the FormattedValueType property.

    ResetReadOnly()

    Resets the ReadOnly state to inherit its value from the OwningColumn, OwningRowand the DataGridView.

    Update()

    Updates the cell on the client.

    Inherited By

    Name
    Description

    Displays a button widget in a cell.

    Displays a icon (not the actual control) in a cell.

    Displays an editable control in a cell when in edit mode.

    Displays an editable control in a cell when in edit mode.

    Displays an image in a cell.

    DataGridViewElement
    DataGridViewCell
    DataGridView
    
    this.comboBox1.AutoComplete += (s, e) =>
    {
      if (this.comboBox1.Text == "T")
      {
        this.compoBox1.SelectedIndex = 1;
        e.Handled = true;
      }
    }
    

    IWisejControl

    All wisej controls derived from the Control class must implement this interface.

    IWisejSerializable

    Allows an object to serialize itself.

    String
    String
    String
    String
    Int32
    String
    String
    String
    String
    Int32
    Int32
    Int32
    DataGridViewComboBoxEditingControl
    ComboBox
    DataGridViewComboBoxCell
    ListViewComboBox
    UserComboBox
    ListView
    TreeViewComboBox
    UserComboBox
    TreeView
    UserComboBox
    ComboBox
    IBindableComponent
    ILabel
    LabelWrapper
    IReadOnly
    ReadOnly
    IModified
    Modified
    ModifiedChanged
    IWisejComponent

    valueTypeConverter

    TypeConverter

    A TypeConverter for the cell value type, or null to use the default converter.

    DataGridViewLinkCell

    Displays a link widget in a DataGridViewCell cell.

    DataGridViewMaskedTextBoxCell

    Displays an editable MaskedTextBox control in a DataGridViewCell cell when in edit mode.

    DataGridViewNumericUpDownCell

    Displays an editable NumericUpDown control in a DataGridViewCell cell when in edit mode.

    DataGridViewTextBoxCell

    Displays an editable TextBox control in a DataGridViewCell cell when in edit mode.

    DataGridViewColumnHeaderCell

    Represents a column header in a DataGridView control.

    DataGridViewHeaderCell

    Contains functionality common to row header cells and column header cells.

    DataGridViewRowHeaderCell

    Represents a row header of a DataGridView control.

    Int32
    Boolean
    Object
    DataGridViewCellStyle
    DataGridViewCellStyle
    TypeConverter
    TypeConverter
    DataGridViewButtonCell
    DataGridViewCell
    DataGridViewCheckBoxCell
    CheckBox
    DataGridViewCell
    DataGridViewComboBoxCell
    ComboBox
    DataGridViewCell
    DataGridViewDateTimePickerCell
    DateTimePicker
    DataGridViewCell
    DataGridViewImageCell
    DataGridViewCell

    DataGridViewColumnCollection

    Wisej.Web.DataGridViewColumnCollection

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    • BaseCollection

      • DataGridViewColumnCollection

    Represents a collection of DataGridViewColumn objects in a control.

    Constructors

    DataGridViewColumnCollection(dataGrid)

    Initializes a new instance of the class for the given .

    Name
    Type
    Description

    Properties

    Item(index)

    : Returns the column at the given index in the collection.

    Throws:

    • index is less than zero or greater than the number of columns in the collection minus one.

    Item(name)

    : Returns the column of the given name in the collection.

    Throws:

    • name is null.

    Methods

    Add(column)

    Adds the given to the collection.

    Parameter
    Type
    Description

    Returns: . The index of the column.

    Throws:

    • column is null.

    • The associated control is performing one of the following actions that temporarily prevents new columns from being added: - Selecting all cells in the control. - Clearing the selection.Updating column property values. Or this method is being called from a handler for one of the following events: - - - - - - - -

    Add(name)

    Adds a with the given column name to the collection.

    Parameter
    Type
    Description

    Returns: . The index of the column.

    Throws:

    • The associated control is performing one of the following actions that temporarily prevents new columns from being added: - Selecting all cells in the control. - Clearing the selection.Updating column property values. Or this method is being called from a handler for one of the following events: - - - - - - - -

    Add(name, valueType)

    Adds a with the given column name and call value type to the collection.

    Parameter
    Type
    Description

    Returns: . The index of the column.

    Throws:

    • The associated control is performing one of the following actions that temporarily prevents new columns from being added: - Selecting all cells in the control. - Clearing the selection.Updating column property values. Or this method is being called from a handler for one of the following events: - - - - - - - -

    Add(name, caption)

    Adds a with the given column name and column header text to the collection.

    Parameter
    Type
    Description

    Returns: . The index of the column.

    Throws:

    • The associated control is performing one of the following actions that temporarily prevents new columns from being added: - Selecting all cells in the control. - Clearing the selection.Updating column property values. Or this method is being called from a handler for one of the following events: - - - - - - - -

    Add(name, caption, valueType)

    Adds a with the given column name, column header text, and cell value type to the collection.

    Parameter
    Type
    Description

    Returns: . The index of the column.

    Throws:

    • The associated control is performing one of the following actions that temporarily prevents new columns from being added: - Selecting all cells in the control. - Clearing the selection.Updating column property values. Or this method is being called from a handler for one of the following events: - - - - - - - -

    AddRange(newColumns)

    Adds a range of columns to the collection.

    Parameter
    Type
    Description

    Throws:

    • newColumns is null.

    • The associated control is performing one of the following actions that temporarily prevents new columns from being added: - Selecting all cells in the control. - Clearing the selection.Updating column property values. Or this method is being called from a handler for one of the following events: - - - - - - - -

    Clear()

    Clears the collection.

    Throws:

    • The associated control is performing one of the following actions that temporarily prevents new columns from being added: - Selecting all cells in the control. - Clearing the selection.Updating column property values. Or this method is being called from a handler for one of the following events: - - - - - - - -

    Clear(dispose)

    Clears the collection and disposes the columns.

    Parameter
    Type
    Description

    Contains(column)

    Determines whether the collection contains the given .

    Parameter
    Type
    Description

    Returns: . true if the given column is in the collection; otherwise, false.

    Contains(name)

    Determines whether the collection contains the given .

    Parameter
    Type
    Description

    Returns: . true if the given column is in the collection; otherwise, false.

    CopyTo(array, index)

    Copies the items from the collection to the given array.

    Parameter
    Type
    Description

    GetColumnCount(includeFilter)

    Returns the number of columns that match the includeFilter .

    Parameter
    Type
    Description

    Returns: . The number of columns that match the filter.

    Throws:

    • includeFilter is not a valid combination of values.

    GetColumnsWidth(includeFilter)

    Returns the width, in pixels, required to display all of the columns that meet the includeFilter .

    Parameter
    Type
    Description

    Returns: . The width, in pixels, that is necessary to display all of the columns that match the filter.

    Throws:

    • includeFilter is not a valid combination of values.

    GetFirstColumn(includeFilter, excludeFilter)

    Returns the first in display order that matches the includeFilter and excludeFilter .

    Parameter
    Type
    Description

    Returns: . The first in display order that matches the given filters, or null if no column is found.

    Throws:

    • At least one of the filter values is not a valid combination of values.

    GetLastColumn(includeFilter, excludeFilter)

    Returns the last in display order that matches the includeFilter and excludeFilter .

    Parameter
    Type
    Description

    Returns: . The last displayed in display order that matches the specified filters, or null if no column is found.

    Throws:

    • At least one of the filter values is not a valid combination of values.

    GetNextColumn(startColumn, includeFilter, excludeFilter)

    Returns the first after the given column in display order that matches the includeFilter and excludeFilter .

    Parameter
    Type
    Description

    Returns: . The next that matches the filters, or null if no column is found.

    Throws:

    • startColumn is null.

    • At least one of the filter values is not a valid combination of values.

    GetPreviousColumn(startColumn, includeFilter, excludeFilter)

    Returns the last prior to the given column in display order that matches the includeFilter and excludeFilter .

    Parameter
    Type
    Description

    Returns: . The previous column that matches the given filters, or null if no column is found.

    Throws:

    • startColumn is null.

    • At least one of the filter values is not a valid combination of values.

    IndexOf(column)

    Returns the index of the given in the collection.

    Parameter
    Type
    Description

    Returns: . The index of the given .

    IndexOf(name)

    Returns the index of the with the specified name from the collection.

    Parameter
    Type
    Description

    Returns: . The index of the given .

    Throws:

    • name is null.

    Insert(index, column)

    Inserts a at the given index in the collection.

    Parameter
    Type
    Description

    Throws:

    • column is null.

    • The associated control is performing one of the following actions that temporarily prevents new columns from being added:Selecting all cells in the control.Clearing the selection.Updating column property values; or this method is being called from a handler for one of the following events: or column already belongs to a control; or the column property value is and the property value is

    Remove(column)

    Removes the specified from the collection.

    Parameter
    Type
    Description

    Throws:

    • column is not in the collection.

    • column is null.

    • The associated control is performing one of the following actions that temporarily prevents new columns from being added:Selecting all cells in the control.Clearing the selection.Updating column property values; or this method is being called from a handler for one of the following events:

    Remove(name)

    Removes the with the specified name from the collection.

    Parameter
    Type
    Description

    Throws:

    • name does not match the name of any column in the collection.

    • name is null.

    • The associated control is performing one of the following actions that temporarily prevents new columns from being added:Selecting all cells in the control.Clearing the selection.Updating column property values; or this method is being called from a handler for one of the following events:

    RemoveAt(index)

    Removes the at the given index in the collection.

    Parameter
    Type
    Description

    Throws:

    • index is less than zero or greater than the number of columns in the control minus one.

    • The associated control is performing one of the following actions that temporarily prevents new columns from being added: - Selecting all cells in the control. - Clearing the selection.Updating column property values. Or this method is being called from a handler for one of the following events: - - - - - - - -

    SetColumnIndex(column, newIndex)

    Moves the specified column to the new newIndex .

    Parameter
    Type
    Description

    This method updates both the column's index in the column collection and the display index without firing the event.

    Events

    CollectionChanged

    Fired when the collection changes.

    or
    . Use the control
    and
    methods to temporarily set conflicting property values; or the column
    property value is
    and the
    property value is false; or column has an
    property value of
    and a
    property value of true; or column has
    and
    property values that would display it among a set of adjacent columns with the opposite
    property value; or the
    control contains at least one row and column has a
    property value of null.

    dataGrid

    DataGridView

    The DataGridView that created this collection.

    column

    DataGridViewColumn

    The DataGridViewColumn to add.

    name

    String

    The name by which the column will be referred.

    name

    String

    The name by which the column will be referred.

    valueType

    Type

    The Type of the values in the cells.

    name

    String

    The name by which the column will be referred.

    caption

    String

    The text for the column's header.

    name

    String

    The name by which the column will be referred.

    caption

    String

    The text for the column's header.

    valueType

    Type

    The Type of the values in the cells.

    newColumns

    DataGridViewColumn[]

    An array of DataGridViewColumn objects to add.

    dispose

    Boolean

    column

    DataGridViewColumn

    The DataGridViewColumn to look for.

    name

    String

    The name of the column to look for.

    array

    DataGridViewColumn[]

    The destination DataGridViewColumn array.

    index

    Int32

    The index of the destination array at which to start copying.

    includeFilter

    DataGridViewElementStates

    A combination of the DataGridViewElementStates values for inclusion.

    includeFilter

    DataGridViewElementStates

    A combination of the DataGridViewElementStates values for inclusion.

    includeFilter

    DataGridViewElementStates

    A combination of the DataGridViewElementStates values for inclusion.

    excludeFilter

    DataGridViewElementStates

    A combination of the DataGridViewElementStates values for exclusion.

    includeFilter

    DataGridViewElementStates

    A combination of the DataGridViewElementStates values for inclusion.

    excludeFilter

    DataGridViewElementStates

    A combination of the DataGridViewElementStates values for exclusion.

    startColumn

    DataGridViewColumn

    The column from which to start searching for the next column.

    includeFilter

    DataGridViewElementStates

    A combination of the DataGridViewElementStates values for inclusion.

    excludeFilter

    DataGridViewElementStates

    A combination of the DataGridViewElementStates values for exclusion.

    startColumn

    DataGridViewColumn

    The column from which to start searching for the previous column.

    includeFilter

    DataGridViewElementStates

    A combination of the DataGridViewElementStates values for inclusion.

    excludeFilter

    DataGridViewElementStates

    A combination of the DataGridViewElementStates values for exclusion.

    column

    DataGridViewColumn

    The DataGridViewColumn to return the index of.

    name

    String

    The name of the column to find.

    index

    Int32

    The zero-based index at which to insert the given column.

    column

    DataGridViewColumn

    The DataGridViewColumn to insert.

    column

    DataGridViewColumn

    The column to delete.

    name

    String

    The name of the column to delete.

    index

    Int32

    The index of the column to delete.

    column

    DataGridViewColumn

    Column to move to the new newIndex .

    newIndex

    Int32

    New index and display index of the column .

    DataGridView
    Public Class DataGridViewColumnCollection
        Inherits BaseCollection
        Implements IList, IList(Of DataGridViewColumn), ICollection(Of DataGridViewColumn), IEnumerable(Of DataGridViewColumn)
    DataGridViewColumnCollection
    DataGridView
    DataGridViewColumn
    ArgumentOutOfRangeException
    DataGridViewColumn
    ArgumentNullException
    DataGridViewColumn
    Int32
    ArgumentNullException
    InvalidOperationException
    DataGridView
    DisplayIndex
    DataGridView
    CellEnter
    CellLeave
    CellValidating
    CellValidated
    RowEnter
    RowLeave
    RowValidated
    RowValidating
    DataGridViewTextBoxColumn
    Int32
    InvalidOperationException
    DataGridView
    DisplayIndex
    DataGridView
    CellEnter
    CellLeave
    CellValidating
    CellValidated
    RowEnter
    RowLeave
    RowValidated
    RowValidating
    DataGridViewTextBoxColumn
    Int32
    InvalidOperationException
    DataGridView
    DisplayIndex
    DataGridView
    CellEnter
    CellLeave
    CellValidating
    CellValidated
    RowEnter
    RowLeave
    RowValidated
    RowValidating
    DataGridViewTextBoxColumn
    Int32
    InvalidOperationException
    DataGridView
    DisplayIndex
    DataGridView
    CellEnter
    CellLeave
    CellValidating
    CellValidated
    RowEnter
    RowLeave
    RowValidated
    RowValidating
    DataGridViewTextBoxColumn
    Int32
    InvalidOperationException
    DataGridView
    DisplayIndex
    DataGridView
    CellEnter
    CellLeave
    CellValidating
    CellValidated
    RowEnter
    RowLeave
    RowValidated
    RowValidating
    ArgumentNullException
    InvalidOperationException
    DataGridView
    DisplayIndex
    DataGridView
    CellEnter
    CellLeave
    CellValidating
    CellValidated
    RowEnter
    RowLeave
    RowValidated
    RowValidating
    InvalidOperationException
    DataGridView
    DisplayIndex
    DataGridView
    CellEnter
    CellLeave
    CellValidating
    CellValidated
    RowEnter
    RowLeave
    RowValidated
    RowValidating
    DataGridViewColumn
    Boolean
    DataGridViewColumn
    Boolean
    Int32
    ArgumentException
    DataGridViewElementStates
    Int32
    ArgumentException
    DataGridViewElementStates
    DataGridViewColumn
    DataGridViewColumn
    DataGridViewColumn
    ArgumentException
    DataGridViewElementStates
    DataGridViewColumn
    DataGridViewColumn
    DataGridViewColumn
    ArgumentException
    DataGridViewElementStates
    DataGridViewColumn
    DataGridViewColumn
    DataGridViewColumn
    ArgumentNullException
    ArgumentException
    DataGridViewElementStates
    DataGridViewColumn
    DataGridViewColumn
    ArgumentNullException
    ArgumentException
    DataGridViewElementStates
    DataGridViewColumn
    Int32
    DataGridViewColumn
    DataGridViewColumn
    Int32
    DataGridViewColumn
    ArgumentNullException
    DataGridViewColumn
    ArgumentNullException
    InvalidOperationException
    DataGridView
    DisplayIndex
    DataGridView
    CellEnter
    CellLeave
    CellValidating
    CellValidated
    RowEnter
    RowLeave
    RowValidated
    RowValidating
    DataGridView
    SortMode
    Automatic
    SelectionMode
    FullColumnSelect
    DataGridViewColumn
    ArgumentException
    ArgumentNullException
    InvalidOperationException
    DataGridView
    DisplayIndex
    DataGridView
    CellEnter
    CellLeave
    CellValidating
    DataGridViewColumn
    ArgumentException
    ArgumentNullException
    InvalidOperationException
    DataGridView
    DisplayIndex
    DataGridView
    CellEnter
    CellLeave
    CellValidating
    DataGridViewColumn
    ArgumentOutOfRangeException
    InvalidOperationException
    DataGridView
    DisplayIndex
    DataGridView
    CellEnter
    CellLeave
    CellValidating
    CellValidated
    RowEnter
    RowLeave
    RowValidated
    RowValidating
    ColumnDisplayIndexChanged
    CollectionChangeEventHandler
    public class DataGridViewColumnCollection : BaseCollection, IList, IList<DataGridViewColumn>, ICollection<DataGridViewColumn>, IEnumerable<DataGridViewColumn>
    ColumnHeaderSelect
    System#ComponentModel#ISupportInitialize#BeginInit
    System#ComponentModel#ISupportInitialize#EndInit
    InheritedAutoSizeMode
    ColumnHeader
    ColumnHeadersVisible
    InheritedAutoSizeMode
    Fill
    Frozen
    DisplayIndex
    Frozen
    Frozen
    DataGridView
    CellType
    CellValidated
    RowEnter
    RowLeave
    RowValidated
    RowValidating
    CellValidated
    RowEnter
    RowLeave
    RowValidated
    RowValidating

    DataGridView

    Wisej.Web.DataGridView

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (3.0.0.0)

    • Control

      • DataGridView

    Represents a data grid control.

    Constructors

    DataGridView()

    Initializes a new instance of the class.

    Properties

    AllowSortingDataSource

    : Returns or sets whether the can automatically sort rows in the when the data is in an object.

    When the is data-bound, sorting is delegated to the when it supports sorting (see ). Otherwise, if the data is in an object and is true, Wisej swaps the rows in the data source. This behavior is different than WinForms, where sorting of the data source is always delegated to the data source and is otherwise ignored. Setting to false reverts to the same behavior as in WinForms.

    AllowUserToAddRows

    : Returns or sets whether the user can add new rows.

    AllowUserToDeleteRows

    : Returns or sets whether the user is allowed to delete rows from the .

    AllowUserToOrderColumns

    : Returns or sets whether manual column repositioning is enabled.

    AllowUserToResizeColumns

    : Returns or sets whether users can resize columns.

    AllowUserToResizeRows

    : Returns or sets whether users can resize rows.

    AutoGenerateColumns

    : Returns or sets whether columns are created automatically when the or properties are set. This property is ignored in design mode - auto column generation is always on.

    AutoSize

    : Returns or sets a value that indicates whether the control resizes based on its contents.

    AutoSizeColumnsMode

    : Returns or sets a value indicating how column widths are determined.

    AutoSizeRowsMode

    : Returns or sets a value indicating how row heights are determined.

    Throws:

    • The specified value when setting this property is or and row headers are hidden.

    BlockSize

    : Number of rows stored in a cache block. Determines the number of rows requested by the client when scrolling the grid.

    It's better not to touch this value unless you know what you are doing.

    BorderStyle

    : Returns or sets the border style for the .

    CellBorderStyle

    : Returns or sets the cell border style for the control.

    ClipboardCopyMode

    : Returns or sets a value that indicates whether users can copy cell text values to the and whether row and column header text is included.

    ColumnCount

    : Returns or sets the number of columns displayed in the .

    Throws:

    • The specified value when setting this property is less than 0.

    • When setting this property, the property has been set.

    ColumnHeadersBorderStyle

    : Returns or sets the border style for the column headers in the control.

    ColumnHeadersDefaultCellStyle

    : Returns or sets the default column header style.

    ColumnHeadersHeight

    : Returns or sets the height, in pixels, of the column headers row.

    Throws:

    • The specified value when setting this property is less than the minimum height of 4 pixels or is greater than the maximum height of 32768 pixels.

    ColumnHeadersHeightSizeMode

    : Returns or sets whether the height of the column headers is adjustable and whether it can be adjusted by the user or is automatically adjusted to fit the contents of the headers. [Since 3.0.13]

    ColumnHeadersVisible

    : Returns or sets whether the column header row is displayed.

    Throws:

    • The specified value when setting this property is false and one or more columns have an property value of .

    Columns

    : Returns a collection that contains all the columns in the control.

    CurrentCell

    : Returns or sets the currently active cell.

    Throws:

    • The value of this property cannot be set because changes to the current cell cannot be committed or canceled. Or the specified cell when setting this property is in a hidden row or column. Re-entrant calling is only allowed when the is bound to a . Re-entrant calling results from a change to the underlying data.

    • The specified cell when setting this property is not in the .

    CurrentCellAddress

    : Returns the row and column indexes of the currently active cell.

    CurrentRow

    : Returns the row containing the current cell.

    DataMember

    : Returns or sets the name of the list or table in the data source for which the is displaying data.

    Throws:

    • An error occurred in the data source and either there is no handler for the event or the handler has set the property to true. The exception object can typically be cast to type .

    DataSource

    : Returns or sets the data source that the is displaying data for.

    Throws:

    • An error occurred in the data source and either there is no handler for the event or the handler has set the property to true. The exception object can typically be cast to type .

    DefaultCellStyle

    : Returns or sets the default cell style to be applied to the cells in the if no other cell style properties are set.

    DefaultRowHeight

    : Returns or sets the default row height.

    DefaultSortMode

    : Returns or sets the default for all columns when the property is set to (default).

    EditingControl

    : Returns the control hosted by the current cell, if a cell with an editing control is in edit mode.

    EditMode

    : Returns or sets a value indicating how to begin editing a cell.

    Throws:

    • The specified value when setting this property would cause the control to enter edit mode, but initialization of the editing cell value failed and either there is no handler for the event or the handler has set the property to true. The exception object can typically be cast to type .

    FirstDisplayedCell

    : Returns the first cell currently displayed in the in the upper left corner.

    FirstDisplayedColumnIndex

    : Returns the index of the column that is the first non-frozen column displayed on the .

    Throws:

    • The specified value when setting this property is less than 0 or greater than the number of columns in the control minus 1.

    • The specified value when setting this property indicates a column with a property value of false. Or the specified value when setting this property indicates a column with a property value of true.

    FirstDisplayedRowIndex

    : Returns the index of the row that is the first row displayed on the .

    Throws:

    • The specified value when setting this property is less than 0 or greater than the number of rows in the control minus 1.

    • The specified value when setting this property indicates a row with a property value of false. Or the specified value when setting this property indicates a column with a property value of true.

    HorizontalScrollingOffset

    : Returns the number of pixels by which the control is scrolled horizontally.

    Indent

    : Returns or sets the distance in pixels to indent each child row node level.

    Throws:

    • The assigned value is less than 0 (see Remarks); or the assigned value is greater than 500.

    IsCurrentCellDirty

    : Returns a value indicating whether the current cell has uncommitted changes.

    IsCurrentCellInEditMode

    : Returns a value indicating whether the currently active cell is being edited.

    IsCurrentRowDirty

    : Returns a value indicating whether the current row has uncommitted changes.

    Item(columnIndex, rowIndex)

    : Returns or set the cell located in the specified column and at the specified row.

    Throws:

    • columnIndex is less than 0 or greater than the number of columns in the control minus 1; or rowIndex is less than 0 or greater than the number of rows in the control minus 1.

    Item(columnName, rowIndex)

    : Returns or set the cell located in the specified column and at the specified row.

    Item(column, rowIndex)

    : Returns or set the cell located in the specified column and at the specified row.

    Item(cellAddress)

    : Returns or set the cell located in the specified location.

    KeepSameRowHeight

    : Returns or sets whether the rows are always of the same height.

    LiveResize

    : Returns or sets whether the column and row resizing should be live: updated as the user resizes the row or the column.

    MaxCachedBlocks

    : Maximum number of blocks kept in the client cache.

    It's better not to touch this value unless you know what you are doing.

    MultiSelect

    : Returns or sets whether the user is allowed to select more than one cell, row, or column of the at a time.

    NewRowIndex

    : Returns the index of the row for new records.

    NoDataMessage

    : Returns or sets an HTML string that is displayed when the doesn't contain any row.

    ReadOnly

    : Returns or sets whether the user can edit the cells of the control.

    Throws:

    • The specified value when setting this property is true, the current cell is in edit mode, and the current cell contains changes that cannot be committed.

    • The specified value when setting this property would cause the control to enter edit mode, but initialization of the editing cell value failed and either there is no handler for the event or the handler has set the property to true. The exception object can typically be cast to type .

    RightClickSelection

    : Returns or sets whether the row under the pointer gets selected on a right click.

    When the right click lands outside of a selected area the selection is not changed regardless of the value of .

    RowCount

    : Returns or sets the number of rows displayed in the .

    Throws:

    • The specified value when setting this property is less than 0 or less than 1 and is set to true.

    • When setting this property, the property is set.

    RowHeaderColumn

    : Returns the for the row headers.

    Use this to set the style and other properties for all the row headers.

    RowHeadersDefaultCellStyle

    : Returns or sets the default style applied to the row header cells.

    RowHeadersMinimumWidth

    : Returns or sets the minimum width, in pixels, of the column that contains the row headers.

    Throws:

    • The value is less than the minimum width of 2 pixels or is greater than the maximum width of 2000 pixels.

    RowHeadersVisible

    : Returns or sets whether the column that contains row headers is displayed.

    Throws:

    • The specified value when setting this property is false and the property is set to or .

    RowHeadersWidth

    : Returns or sets the width, in pixels, of the column that contains the row headers.

    Throws:

    • The value is less than the minimum width of 2 pixels or is greater than the maximum width of 2000 pixels.

    RowHeadersWidthSizeMode

    : Returns or sets whether the width of the row headers is adjustable and whether it can be adjusted by the user or is automatically adjusted to fit the contents of the headers.

    Rows

    : Returns a collection that contains all the rows in the control.

    RowTemplate

    : Returns or sets the row that represents the template for all the rows in the control.

    Throws:

    • The specified row when setting this property has its property set.

    ScrollBars

    : Returns or sets the type of scroll bars to display for the control.

    SelectedCells

    : Returns the collection of selected cells.

    SelectedColumns

    : Returns the collection of selected columns.

    SelectedRows

    : Returns the collection of selected rows.

    SelectionDelay

    : milliseconds to wait before sending selection events to the server.

    Use this property to avoid flooding the server with selection change events when users quickly select rows in a data-bound that triggers other data-bounds controls to get updated. Throws:

    • When the value is less than 0 or greater than 10000 (10 seconds).

    SelectionMode

    : Returns or sets a value indicating how the cells of the can be selected.

    ShowCellErrors

    : Returns or sets whether cells will display an error glyphs for each cell that contains a data entry error.

    ShowCellToolTips

    : Returns or sets whether or not ToolTips will show when the mouse pointer pauses on a cell.

    ShowColumnVisibilityMenu

    : Returns or sets whether the column visibility menu button is visible.

    ShowFocusCell

    : Returns or sets a value indicating whether the widget highlights the currently focused cell.

    ShowRowErrors

    : Returns or sets whether row headers will display an error glyphs for each row that contains a data entry error.

    SortedColumn

    : Returns the column by which the contents are currently sorted.

    SortFrozenRows

    : Returns or sets whether frozen rows should be sorted when sorting a column.

    SortOrder

    : Returns a value indicating whether the items in the control are sorted in ascending or descending order, or are not sorted.

    SortSelectionMode

    : Returns or sets a value indicating how the updates the selection of rows and cells when it's sorted.

    The selection is always cleared when sorting a data-bound or when the grid contains hierarchical rows.

    StandardTab

    : Returns or sets whether the TAB key moves the focus to the next control in the tab order rather than moving focus to the next cell.

    Tools

    : Returns the instance of associated with this control.

    ToolsPosition

    : Returns or sets the position of the items associated with this control.

    TopLeftHeaderCell

    : Returns the header cell located in the upper left corner of the control.

    TreeColumn

    : Returns or sets the column that displays the node open/close tree icons.

    By default the DataGridView shows the open/close tree icons on the first visible and non-frozen column.

    VirtualMode

    : Returns or sets whether you have provided your own data-management operations for the control.

    VisibleRowCount

    : Returns the total number of visible rows currently displayed.

    Methods

    AddSummaryRows(summaryType, groupCol, summaryCol, style, customSummary)

    Creates or updates a for each group limited by the values in column groupCol .

    Parameter
    Type
    Description

    Returns: . Array of the rows displaying the aggregated values.

    AddSummaryRows(summaryType, summaryPosition, groupCol, summaryCol, style, customSummary)

    Creates or updates a for each group limited by the values in column groupCol .

    Parameter
    Type
    Description

    Returns: . Array of the rows displaying the aggregated values.

    AddSummaryRows(summaryType, groupFromCol, groupToCol, summaryCol, style, customSummary)

    Creates or updates a for each group limited by the values in the columns from groupFromCol to groupToCol .

    Parameter
    Type
    Description

    Returns: . Array of the rows displaying the aggregated values.

    AddSummaryRows(summaryType, summaryPosition, groupFromCol, groupToCol, summaryCol, style, customSummary)

    Creates or updates a for each group limited by the values in the columns from groupFromCol to groupToCol .

    Parameter
    Type
    Description

    Returns: . Array of the rows displaying the aggregated values.

    AddSummaryRows(summaryType, groupCol, summaryCol, style, customSummary)

    Creates or updates a for each group limited by the values in columns groupCol .

    Parameter
    Type
    Description

    Returns: . Array of the rows displaying the aggregated values.

    AddSummaryRows(summaryType, summaryPosition, groupCol, summaryCol, style, customSummary)

    Creates or updates a for each group limited by the values in columns groupCol .

    Parameter
    Type
    Description

    Returns: . Array of the rows displaying the aggregated values.

    AddSummaryRows(summaryType, groupFromCol, groupToCol, summaryCol, style, customSummary)

    Creates or updates a for each group limited by the values in the columns from groupFromCol to groupToCol .

    Parameter
    Type
    Description

    Returns: . Array of the rows displaying the aggregated values.

    AddSummaryRows(summaryType, summaryPosition, groupFromCol, groupToCol, summaryCol, style, customSummary)

    Creates or updates a for each group limited by the values in the columns from groupFromCol to groupToCol .

    Parameter
    Type
    Description

    Returns: . Array of the rows displaying the aggregated values.

    Append(data, dataMember)

    Populates the from the data appending the rows to the existing rows.

    Parameter
    Type
    Description

    Returns: . Numbers of rows appended.

    Use this method to fill a without binding it to the data source.

    AreAllCellsSelected(includeInvisibleCells)

    Returns whether all the cells are currently selected.

    Parameter
    Type
    Description

    Returns: . true if all cells (or all visible cells) are selected or if there are no cells (or no visible cells); otherwise, returns false.

    AutoResizeColumn(columnIndex)

    Adjusts the width of the column to fit the contents of its cells including the header cell.

    Parameter
    Type
    Description

    Throws:

    • columnIndex is not in the valid range of -1 (all columns) to the number of columns minus 1.

    AutoResizeColumn(columnIndex, extraSpace)

    Adjusts the width of the column to fit the contents of its cells including the header cell.

    Parameter
    Type
    Description

    Throws:

    • columnIndex is not in the valid range of -1 (all columns) to the number of columns minus 1.

    AutoResizeColumn(columnIndex, autoSizeMode)

    Adjusts the width of the specified column using the specified size mode.

    Parameter
    Type
    Description

    Throws:

    • autoSizeMode has the value and is false.

    • autoSizeMode has the value , , or .

    • columnIndex is not in the valid range of -1 (all columns) to the number of columns minus 1.

    AutoResizeColumn(columnIndex, autoSizeMode, extraSpace)

    Adjusts the width of the specified column using the specified size mode.

    Parameter
    Type
    Description

    Throws:

    • autoSizeMode has the value and is false.

    • autoSizeMode has the value , , or .

    • columnIndex is not in the valid range of -1 (all columns) to the number of columns minus 1.

    AutoResizeColumnHeadersHeight()

    Adjusts the height of the column headers to fit the contents of the largest header.

    AutoResizeColumnHeadersHeight(columnIndex)

    Adjusts the height of the column headers based on the contents of the header in the specified column.

    Parameter
    Type
    Description

    Throws:

    • columnIndex is not in the valid range of -1 (all columns) to the number of columns minus 1.

    AutoResizeColumns()

    Adjusts the width of all columns to fit the contents of their cells including the header cells.

    AutoResizeColumns(extraSpace)

    Adjusts the width of all columns to fit the contents of their cells including the header cells.

    Parameter
    Type
    Description

    AutoResizeColumns(autoSizeMode)

    Adjusts the width of all columns using the specified size mode.

    Parameter
    Type
    Description

    Throws:

    • autoSizeMode has the value and is false.

    • autoSizeMode has the value or .

    AutoResizeColumns(autoSizeMode, extraSpace)

    Adjusts the width of all columns using the specified size mode.

    Parameter
    Type
    Description

    Throws:

    • autoSizeMode has the value and is false.

    • autoSizeMode has the value or .

    AutoResizeRow(rowIndex)

    Adjusts the height of the row to fit the contents of all its cells including the header cell.

    Parameter
    Type
    Description

    Throws:

    • rowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.

    AutoResizeRow(rowIndex, extraSpace)

    Adjusts the height of the row to fit the contents of all its cells including the header cell.

    Parameter
    Type
    Description

    Throws:

    • rowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.

    AutoResizeRow(rowIndex, autoSizeMode)

    Adjusts the height of the row using the specified size mode.

    Parameter
    Type
    Description

    Throws:

    • autoSizeMode has the value and is false.

    • rowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.

    AutoResizeRow(rowIndex, autoSizeMode, extraSpace)

    Adjusts the height of the row using the specified size mode.

    Parameter
    Type
    Description

    Throws:

    • autoSizeMode has the value and is false.

    • rowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.

    AutoResizeRowHeadersWidth(autoSizeMode)

    Adjusts the width of the row headers using the specified size mode.

    Parameter
    Type
    Description

    Throws:

    • autoSizeMode has the value or .

    AutoResizeRowHeadersWidth(autoSizeMode, extraSpace)

    Adjusts the width of the row headers using the specified size mode.

    Parameter
    Type
    Description

    Throws:

    • autoSizeMode has the value or .

    AutoResizeRowHeadersWidth(rowIndex, autoSizeMode)

    Adjusts the width of the row headers based on the contents of the header in the specified row and using the specified size mode.

    Parameter
    Type
    Description

    Throws:

    • rowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.

    • autoSizeMode has the value or

    AutoResizeRowHeadersWidth(rowIndex, autoSizeMode, extraSpace)

    Adjusts the width of the row headers based on the contents of the header in the specified row and using the specified size mode.

    Parameter
    Type
    Description

    Throws:

    • rowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.

    • autoSizeMode has the value or

    AutoResizeRows()

    Adjusts the heights of all rows in the client's data cache to fit the contents of all their cells, including the header cells.

    AutoResizeRows(extraSpace)

    Adjusts the heights of all rows in the client's data cache to fit the contents of all their cells, including the header cells.

    Parameter
    Type
    Description

    AutoResizeRows(autoSizeMode)

    Adjusts the heights of the rows using the specified size mode.

    Parameter
    Type
    Description

    Throws:

    • autoSizeMode has the value

    • autoSizeMode has the value and is false.

    BeginEdit(selectAll)

    Puts the current cell in edit mode.

    Parameter
    Type
    Description

    Returns: . true if the current cell is already in edit mode or successfully enters edit mode; otherwise, false.

    Throws:

    • is not set to a valid cell.

    BeginUpdate()

    Prevents the control from updating until the method is called.

    CancelEdit()

    Cancels edit mode for the currently selected cell and discards any changes.

    Returns: . true if the cancel was successful; otherwise, false.

    ClearSelection()

    Clears the current selection.

    CommitEdit()

    Commits changes to cell without ending edit mode.

    Returns: . true if the changes were committed; otherwise false.

    Throws:

    • The cell value could not be committed and either there is no handler for the event or the handler has set the property to true.

    EndEdit()

    Commits and ends the edit operation on the current cell.

    Returns: . true if the edit operation is committed and ended; otherwise, false.

    Throws:

    • The cell value could not be committed and either there is no handler for the event or the handler has set the property to true.

    EndUpdate()

    Resumes updating of the control after it was suspended by the method.

    Fill(data, dataMember)

    Populates the from the data .

    Parameter
    Type
    Description

    Returns: . Numbers of rows added.

    Use this method to fill a without binding it to the data source.

    GetClipboardContent()

    Returns the formatted values that represent the contents of the selected cells for copying to the .

    Returns: . A with the contents of the selected cells.

    Throws:

    • is set to .

    GetFormattedValue(column, rowIndex)

    Retrieves the value for the specified cell, as formatted for display, without retrieving a and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in .

    Parameter
    Type
    Description

    Returns: . The formatted value stored in the cell.

    Throws:

    • column is null.

    • The specified column does not belong to the same that owns the cells.

    • rowIndex is less than 0.- or - rowIndex is equal to or greater than .

    GetFormattedValue(columnName, rowIndex)

    Retrieves the value for the specified cell, as formatted for display, without retrieving a and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in .

    Parameter
    Type
    Description

    Returns: . The formatted value stored in the cell.

    Throws:

    • columnName does not match the name of any columns in the control.

    • rowIndex is less than 0.- or - rowIndex is equal to or greater than .

    GetFormattedValue(columnIndex, rowIndex)

    Retrieves the value for the specified cell, as formatted for display, without retrieving a and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in .

    Parameter
    Type
    Description

    Returns: . The formatted value stored in the cell.

    Throws:

    • columnIndex is less than 0 or columnIndex is equal to or greater than the number of cells in the collection.

    • rowIndex is less than 0.- or - rowIndex is equal to or greater than .

    GetRowState(rowIndex)

    Returns the state of the at the specified index.

    Parameter
    Type
    Description

    Returns: . A combination of values indicating the state of the row.

    Throws:

    • rowIndex is less than zero and greater than the number of rows in the collection.

    GetValue(columnIndex, rowIndex)

    Retrieves the value for the specified cell without retrieving a and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in .

    Parameter
    Type
    Description

    Returns: . The object value stored in the cell.

    Throws:

    • columnIndex is less than 0 or columnIndex is equal to or greater than the number of cells in the collection.

    • rowIndex is less than 0.- or - rowIndex is equal to or greater than .

    GetValue(cellAddress)

    Retrieves the value for the specified cell without retrieving a and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in .

    Parameter
    Type
    Description

    Returns: . The object value stored in the cell.

    Throws:

    • cellAddress is less than 0 or equal to or greater than the number of row or columns in the collection.

    GetValue(column, rowIndex)

    Retrieves the value for the specified cell without retrieving a and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in .

    Parameter
    Type
    Description

    Returns: . The object value stored in the cell.

    Throws:

    • column is null.

    • The specified column does not belong to the same that owns the cells.

    • rowIndex is less than 0.- or - rowIndex is equal to or greater than .

    GetValue(columnName, rowIndex)

    Retrieves the value for the specified cell without retrieving a and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in .

    Parameter
    Type
    Description

    Returns: . The object value stored in the cell.

    Throws:

    • columnName does not match the name of any columns in the control.

    • rowIndex is less than 0.- or - rowIndex is equal to or greater than .

    HitTest(x, y)

    Returns the column index and row index that contain the specified x, y client coordinates.

    Parameter
    Type
    Description

    Returns: . A that contains the column index and row index information.

    HitTest(position)

    Returns the column index and row index that contain the specified x, y client coordinates.

    Parameter
    Type
    Description

    Returns: . A that contains the column index and row index information.

    IsCellEditable(cell)

    Checks if the specified cell can enter edit mode.

    Parameter
    Type
    Description

    Returns: . true is the specified cell, the owner row, owner column and the data source, allow user editing.

    IsCellEditable(colIndex, rowIndex)

    Checks if the cell at the colIndex and rowIndex location can enter edit mode.

    Parameter
    Type
    Description

    Returns: . true is the specified cell, the owner row, owner column and the data source, allow user editing.

    IsCellEditable(cellAddress)

    Checks if the cell at the cellAddress location can enter edit mode.

    Parameter
    Type
    Description

    Returns: . true is the specified cell, the owner row, owner column and the data source, allow user editing.

    IsCellVisible(cell)

    Checks if the specified cell is visible.

    Parameter
    Type
    Description

    Returns: . true is the specified cell, the owner row, owner column and the data source, allow user editing.

    IsCellVisible(colIndex, rowIndex)

    Checks if the cell at the colIndex and rowIndex location is visible.

    Parameter
    Type
    Description

    Returns: . true is the specified cell, the owner row, owner column and the data source, allow user editing.

    IsCellVisible(cellAddress)

    Checks if the cell at the cellAddress location is visible.

    Parameter
    Type
    Description

    Returns: . true is the specified cell, the owner row, owner column and the data source, allow user editing.

    IsValidCell(cellAddress)

    Verifies that the cell address refers to a valid cell.

    Parameter
    Type
    Description

    Returns: . true if the coordinates correspond to a valid cell address.

    IsValidCell(colIndex, rowIndex)

    Verifies that the column index and row index refer to a valid cell.

    Parameter
    Type
    Description

    Returns: . true if the coordinates correspond to a valid cell address.

    IsValidColumn(colIndex)

    Verifies that the column index refer to a valid column.

    Parameter
    Type
    Description

    Returns: . true if the column index corresponds to a valid column.

    IsValidRow(rowIndex)

    Verifies that the row index refer to a valid row.

    Parameter
    Type
    Description

    Returns: . true if the row index corresponds to a valid row.

    NotifyCurrentCellDirty(dirty)

    Notifies the that the current cell has uncommitted changes.

    Parameter
    Type
    Description

    OnTopLeftHeaderClick(e)

    Fires the event, if is true, selects all the rows in the control.

    Parameter
    Type
    Description

    Throws:

    • The value of the property of e is greater than the number of columns in the control, or the value of the property of e is greater than the number of rows in the control.

    Refresh()

    Forces a full reload of the data displayed by this .

    Refresh(refreshChildren)

    Forces a full reload of the data displayed by this .

    Parameter
    Type
    Description

    RemoveSummaryRows()

    Removes the all the summary rows.

    RemoveSummaryRows(summaryPosition)

    Removes the summary rows that match the specified summaryPosition .

    Parameter
    Type
    Description

    RemoveSummaryRows(groupFromCol)

    Removes the summary rows grouped by groupFromCol .

    Parameter
    Type
    Description

    RemoveSummaryRows(groupFromCol, groupToCol)

    Removes the summary rows grouped by groupFromCol and groupToCol .

    Parameter
    Type
    Description

    RemoveSummaryRows(groupFromCol)

    Removes the summary rows grouped by groupFromCol .

    Parameter
    Type
    Description

    RemoveSummaryRows(groupFromCol, groupToCol)

    Removes the summary rows grouped by groupFromCol and groupToCol .

    Parameter
    Type
    Description

    RemoveSummaryRows(summaryPosition, groupFromCol)

    Removes the summary rows that match the specified summaryPosition and grouped by groupFromCol .

    Parameter
    Type
    Description

    RemoveSummaryRows(summaryPosition, groupFromCol, groupToCol)

    Removes the summary rows that match the specified summaryPosition and grouped by groupFromCol and groupToCol .

    Parameter
    Type
    Description

    RemoveSummaryRows(summaryPosition, groupFromCol, groupToCol)

    Removes the summary rows that match the specified summaryPosition and grouped by groupFromCol and groupToCol .

    Parameter
    Type
    Description

    ScrollCellIntoView(cell)

    Scrolls the specified cell into view.

    Parameter
    Type
    Description

    Throws:

    • cell is null.

    • cell doesn't belong to this .

    ScrollCellIntoView(cell, alignX, alignY)

    Scrolls the specified cell into view aligned according to the position specified by alignX and alignY , if possible.

    Parameter
    Type
    Description

    Throws:

    • cell is null.

    • cell doesn't belong to this .

    ScrollCellIntoView(cellAddress)

    Scrolls the specified cell into view.

    Parameter
    Type
    Description

    Throws:

    • cellAddress .X is less than -1 or greater than the number of columns in the control, or cellAddress .Y is less than -1 or greater than the number of rows in the control.

    ScrollCellIntoView(cellAddress, alignX, alignY)

    Scrolls the specified cell into view aligned according to the position specified by alignX and alignY , if possible.

    Parameter
    Type
    Description

    Throws:

    • cellAddress .X is less than -1 or greater than the number of columns in the control, or cellAddress .Y is less than -1 or greater than the number of rows in the control.

    ScrollCellIntoView(columnIndex, rowIndex)

    Scrolls the specified cell into view.

    Parameter
    Type
    Description

    Throws:

    • columnIndex is less than -1 or greater than the number of columns in the control, or rowIndex is less than -1 or greater than the number of rows in the control.

    ScrollCellIntoView(columnIndex, rowIndex, alignX, alignY)

    Scrolls the specified cell into view aligned according to the position specified by alignX and alignY , if possible.

    Parameter
    Type
    Description

    Throws:

    • columnIndex is less than -1 or greater than the number of columns in the control, or rowIndex is less than -1 or greater than the number of rows in the control.

    ScrollColumnIntoView(columnIndex)

    Scrolls the specified column into view.

    Parameter
    Type
    Description

    Throws:

    • columnIndex is less than -1 or greater than the number of columns in the control.

    ScrollColumnIntoView(columnIndex, alignX)

    Scrolls the specified column into view aligned to the left or right according to the position specified by alignX .

    Parameter
    Type
    Description

    Throws:

    • columnIndex is less than -1 or greater than the number of columns in the control.

    ScrollColumnIntoView(column)

    Scrolls the specified column into view.

    Parameter
    Type
    Description

    Throws:

    • column is null.

    • column doesn't belong to this .

    ScrollColumnIntoView(column, alignX)

    Scrolls the specified column into view aligned to the left or right according to position specified by alignX .

    Parameter
    Type
    Description

    Throws:

    • column is null.

    • column doesn't belong to this .

    ScrollRowIntoView(rowIndex)

    Scrolls the specified row into view.

    Parameter
    Type
    Description

    Throws:

    • rowIndex is less than -1 or greater than the number of rows in the control.

    ScrollRowIntoView(rowIndex, alignY)

    Scrolls the specified row into view aligned to the top or bottom according to the position specified by alignY .

    Parameter
    Type
    Description

    Throws:

    • rowIndex is less than -1 or greater than the number of rows in the control.

    ScrollRowIntoView(row)

    Scrolls the specified row into view.

    Parameter
    Type
    Description

    Throws:

    • row is null.

    • row doesn't belong to this .

    ScrollRowIntoView(row, alignY)

    Scrolls the specified row into view aligned to the top or bottom according to the position specified by alignY .

    Parameter
    Type
    Description

    Throws:

    • row is null.

    • row doesn't belong to this .

    SelectAll()

    Selects all the cells, or rows, or columns, according to the property when the is true.

    SelectAllCells()

    Selects all the cells, regardless of the and properties.

    SelectAllColumns()

    Selects all the columns, regardless of the and properties.

    SelectAllRows()

    Selects all the rows, regardless of the and properties.

    SetCurrentCell(cellAddress)

    Sets the currently focused cell.

    Parameter
    Type
    Description

    SetCurrentCell(columnIndex, rowIndex)

    Sets the currently focused cell.

    Parameter
    Type
    Description

    SetRowState(rowIndex, state)

    Sets the state for the row at rowIndex .

    Parameter
    Type
    Description

    Throws:

    • rowIndex is less than zero and greater than the number of rows in the collection.

    SetValue(columnIndex, rowIndex, value)

    Sets the value of the specified cell without retrieving a and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in .

    Parameter
    Type
    Description

    Throws:

    • columnIndex is less than 0 or columnIndex is equal to or greater than the number of cells in the collection.

    • rowIndex is less than 0.- or - rowIndex is equal to or greater than .

    SetValue(cellAddress, value)

    Sets the value of the specified cell without retrieving a and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in .

    Parameter
    Type
    Description

    Throws:

    • cellAddress is less than 0 or equal to or greater than the number of row or columns in the collection.

    SetValue(columnName, rowIndex, value)

    Sets the value of the specified cell without retrieving a and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in .

    Parameter
    Type
    Description

    Throws:

    • columnName does not match the name of any columns in the control.

    • rowIndex is less than 0.- or - rowIndex is equal to or greater than .

    SetValue(column, rowIndex, value)

    Sets the value of the specified cell without retrieving a and without causing the permanent creation of a row instance. This method is particularly useful when the grid shows a large data set and/or it's operating in .

    Parameter
    Type
    Description

    Throws:

    • column is null.

    • The specified column does not belong to the same that owns the cells.

    • rowIndex is less than 0.- or - rowIndex is equal to or greater than .

    Sort(column, direction)

    Sorts the contents of the control in ascending or descending order based on the contents of the specified column.

    Parameter
    Type
    Description

    Throws:

    • The specified column is not part of this ; or the property has been set and the property of the specified column returns false.

    • column is null.

    • The property is set to true and the property of the specified column returns false; or the object specified by the property does not implement the interface; or the object specified by the

    Sort(comparer)

    Sorts the contents of the control using an implementation of the interface.

    Parameter
    Type
    Description

    Throws:

    • comparer is null.

    • is set to true; or is not null.

    Update()

    Causes the control to update the corresponding client side widget. When in design mode, causes the rendered control to update its entire surface in the designer.

    Events

    AllowUserToAddRowsChanged

    Fired when the value of the property changes.

    AllowUserToDeleteRowsChanged

    Fired when the value of the property changes.

    AllowUserToOrderColumnsChanged

    Fired when the value of the property changes.

    AllowUserToResizeColumnsChanged

    Fired when the value of the property changes.

    AllowUserToResizeRowsChanged

    Fired when the value of the property changes.

    CellBeginEdit

    Fired when edit mode starts for the selected cell.

    CellClick

    Fired when any part of a cell is clicked.

    CellContextMenuNeeded

    Fired when a cell's context menu is needed.

    CellDoubleClick

    Fired when the user double-clicks anywhere in a cell.

    CellEndEdit

    Fired when edit mode stops for the current cell.

    CellEnter

    Fired when the current cell changes in the control or when the control receives input focus.

    CellErrorTextChanged

    Fired when the value of the property of a cell changes.

    CellErrorTextNeeded

    Fired when a cell's error text is needed.

    CellFormatting

    Fired when the contents of a cell need to be formatted for display.

    CellLeave

    Fired when a cell loses input focus and is no longer the current cell.

    CellMouseClick

    Occurs whenever the user clicks anywhere on a cell with the mouse.

    CellMouseDoubleClick

    Fired when a cell within the is double-clicked.

    CellMouseDown

    Fired when the user presses a mouse button while the pointer is within the boundaries of a cell.

    CellMouseEnter

    Fired when the mouse pointer enters a cell.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    CellMouseLeave

    Fired when the mouse pointer leaves a cell.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    CellMouseMove

    Fired when the mouse pointer moves over the control.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    CellMouseUp

    Fired when the user releases a mouse button while over a cell.

    CellPaint

    Fired when a cell with the property set to true needs to be drawn.

    CellParsing

    Fired when a cell leaves edit mode if the cell value has been modified.

    CellStateChanged

    Fired when a cell state changes, such as when the cell is selected or focused.

    CellStyleChanged

    Fired when the property of a changes.

    CellStyleContentChanged

    Fired when one of the values of a cell style changes.

    CellToolClick

    Fired when a hosted in a cell editor is clicked.

    CellToolTipTextChanged

    Fired when the value of the property of a cell changes.

    CellToolTipTextNeeded

    Fired when a cell's ToolTip text is needed.

    CellValidated

    Occurs after the cell has finished validating.

    CellValidating

    Fired when a cell loses input focus, enabling content validation.

    CellValueChanged

    Fired when the value of a cell changes.

    CellValueNeeded

    Fired when the property of the control is true and the requires a value for a cell in order to format and display the cell.

    CellValuePushed

    Fired when the property of the control is true and a cell value has changed and requires storage in the underlying data source.

    ColumnAdded

    Fired when a column is added to the control.

    ColumnDisplayIndexChanged

    Fired when the value the property for a column changes.

    ColumnFillWeightChanged

    Fired when the property changes.

    ColumnHeaderMouseClick

    Fired when the user clicks a column header.

    ColumnHeaderMouseDoubleClick

    Fired when a column header is double-clicked.

    ColumnHeadersHeightChanged

    Fired when the value of the property changes.

    ColumnMaximumWidthChanged

    Fired when the value of the property for a column changes.

    ColumnMinimumWidthChanged

    Fired when the value of the property for a column changes.

    ColumnNameChanged

    Fired when the property changes.

    ColumnRemoved

    Fired when a column is removed from the control.

    ColumnSortModeChanged

    Fired when the value of the property changes.

    ColumnStateChanged

    Fired when a column changes state, such as becoming visible.

    ColumnWidthChanged

    Fired when the value of the property for a column changes.

    CurrentCellChanged

    Fired when the property changes.

    DataBindingComplete

    Occurs after a data-binding operation has finished.

    DataError

    Fired when a data parsing or data validation operation throws an exception, or when committing data to a data source fails.

    DataMemberChanged

    Fired when value of the property changes.

    DataRead

    Occurs when the client requests a set of rows from the server.

    You can use this event when the is in to pre-populate a paged data set used when handling the events.

    DataSourceChanged

    Fired when the value of the property changes.

    DataUpdated

    Fired when the client has updated one or more rows in the grid.

    This event is fired only if the application has attached at least one handler to the event. Otherwise, simply overriding won't work.

    DefaultRowHeightChanged

    Fired when the value of the property changes.

    DefaultValuesNeeded

    Fired when the user enters the row for new records so that it can be populated with default values.

    EditingControlShowing

    Fired when a control for editing a cell is showing.

    EditModeChanged

    Fired when the value of the property changes.

    KeepSameRowHeightChanged

    Fired when the value of the property changes.

    LastCellTab

    Fired when the user tabs past the last cell.

    LiveResizeChanged

    Fired when the value of the property changes.

    MultiSelectChanged

    Fired when the value of the property changes.

    NewRowNeeded

    Fired when the property of the is true and the user navigates to the new row at the bottom of the .

    ReadOnlyChanged

    Fired when the value of the property changes.

    RowCollapsed

    Fired when a parent row is collapsed.

    RowEnter

    Fired when a row receives input focus but before it becomes the current row.

    RowErrorTextChanged

    Fired when the property of a row changes.

    RowErrorTextNeeded

    Fired when the row's error text is required.

    RowExpanded

    Fired when a parent row is expanded.

    RowHeaderMouseClick

    Fired when the user clicks within the boundaries of a row header.

    RowHeaderMouseDoubleClick

    Fired when a row header is double-clicked.

    RowHeadersWidthChanged

    Fired when value of the property changes.

    RowHeightChanged

    Fired when the value of the property for a row changes.

    RowHeightInfoNeeded

    Fired when information about row height is requested.

    RowLeave

    Fired when a row loses input focus and is no longer the current row.

    RowMaximumHeightChanged

    Fired when the value of the property for a row changes.

    RowMinimumHeightChanged

    Fired when the value of the property for a row changes.

    RowsAdded

    Occurs after a new row is added to the .

    RowsRemoved

    Fired when a row or rows are deleted from the .

    RowStateChanged

    Fired when a row changes state, such as getting selected.

    RowValidated

    Occurs after a row has finished validating.

    RowValidating

    Fired when a row is validating.

    Scroll

    Fired when the user or code scrolls the grid.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    SelectionChanged

    Fired when the current selection changes.

    ShowColumnVisibilityMenuChanged

    Fired when the value of the property changes.

    SortCompare

    Fired when the compares two cell values to perform a sort operation.

    Sorted

    Fired when the control completes a sorting operation.

    StandardTabChanged

    Fired when the value of the property changes.

    ToolClick

    Fired when a is clicked.

    TopLeftHeaderClick

    Fired when the user presses a mouse button while the pointer is on the top-left corner cell.

    UserAddedRow

    Fired when the user has finished adding a row to the control.

    UserDeletedRow

    Fired when the user has finished deleting a row from the control.

    UserDeletingRow

    Fired when the user deletes a row from the control.

    Implements

    Name
    Description

    Optional for the summary rows.

    customSummary

    Optional custom summary function, used when summaryType is .

    Name of the column to aggregate.

    style

    Optional for the summary rows.

    customSummary

    Optional custom summary function, used when summaryType is .

    Name of the column to aggregate.

    style

    Optional for the summary rows.

    customSummary

    Optional custom summary function, used when summaryType is .

    Name of the last column that determines the group break values.

    summaryCol

    Name of the column to aggregate.

    style

    Optional for the summary rows.

    customSummary

    Optional custom summary function, used when summaryType is .

    Optional for the summary rows.

    customSummary

    Optional custom summary function, used when summaryType is .

    Column to aggregate.

    style

    Optional for the summary rows.

    customSummary

    Optional custom summary function, used when summaryType is .

    Column to aggregate.

    style

    Optional for the summary rows.

    customSummary

    Optional custom summary function, used when summaryType is .

    Last column that determines the group break values.

    summaryCol

    Column to aggregate.

    style

    Optional for the summary rows.

    customSummary

    Optional custom summary function, used when summaryType is .

    One of or . Any other value is ignored and will use the least-effort alignment.

    property has a
    property value of false.

    Represents a Wisej component that is capable of handling postback requests from the client.

    Allows an object to serialize itself.

    summaryType

    SummaryType

    Determines the aggregation type.

    groupCol

    String

    Name of the column that determines the group break values.

    summaryCol

    String

    name of the column to aggregate.

    summaryType

    SummaryType

    Determines the aggregation type.

    summaryPosition

    SummaryRowPosition

    Indicates the position of the DataGridViewSummaryRow.

    groupCol

    String

    Name of the column that determines the group break values.

    summaryType

    SummaryType

    Determines the aggregation type.

    groupFromCol

    String

    Name of the first column that determines the group break values.

    groupToCol

    String

    Name of the last column that determines the group break values.

    summaryType

    SummaryType

    Determines the aggregation type.

    summaryPosition

    SummaryRowPosition

    Indicates the position of the DataGridViewSummaryRow.

    groupFromCol

    String

    Name of the first column that determines the group break values.

    summaryType

    SummaryType

    Determines the aggregation type.

    groupCol

    DataGridViewColumn

    Column that determines the group break values.

    summaryCol

    DataGridViewColumn

    Column to aggregate.

    summaryType

    SummaryType

    Determines the aggregation type.

    summaryPosition

    SummaryRowPosition

    Indicates the position of the DataGridViewSummaryRow.

    groupCol

    DataGridViewColumn

    Column that determines the group break values.

    summaryType

    SummaryType

    Determines the aggregation type.

    groupFromCol

    DataGridViewColumn

    First column that determines the group break values.

    groupToCol

    DataGridViewColumn

    Last column that determines the group break values.

    summaryType

    SummaryType

    Determines the aggregation type.

    summaryPosition

    SummaryRowPosition

    Indicates the position of the DataGridViewSummaryRow.

    groupFromCol

    DataGridViewColumn

    First column that determines the group break values.

    data

    Object

    The object that contains data for the DataGridView to display.

    dataMember

    String

    The name of the table or list in the data object for which the DataGridView should load the data.

    includeInvisibleCells

    Boolean

    true to include the rows and columns with the Visible property set to false.

    columnIndex

    Int32

    The index of the column to resize; -1 indicates all columns.

    columnIndex

    Int32

    The index of the column to resize; -1 indicates all columns.

    extraSpace

    Int32

    Additional space in pixels.

    columnIndex

    Int32

    The index of the column to resize; -1 indicates all columns.

    autoSizeMode

    DataGridViewAutoSizeColumnMode

    One of the DataGridViewAutoSizeColumnMode values.

    columnIndex

    Int32

    The index of the column to resize; -1 indicates all columns.

    autoSizeMode

    DataGridViewAutoSizeColumnMode

    One of the DataGridViewAutoSizeColumnMode values.

    extraSpace

    Int32

    Additional space in pixels.

    columnIndex

    Int32

    The index of the column to resize; -1 indicates all columns.

    extraSpace

    Int32

    Additional space in pixels.

    autoSizeMode

    DataGridViewAutoSizeColumnsMode

    One of the DataGridViewAutoSizeColumnsMode values.

    autoSizeMode

    DataGridViewAutoSizeColumnsMode

    One of the DataGridViewAutoSizeColumnsMode values.

    extraSpace

    Int32

    Additional space in pixels.

    rowIndex

    Int32

    The index of the row to resize.

    rowIndex

    Int32

    The index of the row to resize.

    extraSpace

    Int32

    Additional space in pixels.

    rowIndex

    Int32

    The index of the row to resize.

    autoSizeMode

    DataGridViewAutoSizeRowMode

    One of the DataGridViewAutoSizeRowMode values.

    rowIndex

    Int32

    The index of the row to resize.

    autoSizeMode

    DataGridViewAutoSizeRowMode

    One of the DataGridViewAutoSizeRowMode values.

    extraSpace

    Int32

    Additional space in pixels.

    autoSizeMode

    DataGridViewRowHeadersWidthSizeMode

    One of the DataGridViewRowHeadersWidthSizeMode values.

    autoSizeMode

    DataGridViewRowHeadersWidthSizeMode

    One of the DataGridViewRowHeadersWidthSizeMode values.

    extraSpace

    Int32

    Additional space in pixels.

    rowIndex

    Int32

    The index of the row header with the changed content.

    autoSizeMode

    DataGridViewRowHeadersWidthSizeMode

    One of the DataGridViewRowHeadersWidthSizeMode values.

    rowIndex

    Int32

    The index of the row header with the changed content.

    autoSizeMode

    DataGridViewRowHeadersWidthSizeMode

    One of the DataGridViewRowHeadersWidthSizeMode values.

    extraSpace

    Int32

    Additional space in pixels.

    extraSpace

    Int32

    Additional space in pixels.

    autoSizeMode

    DataGridViewAutoSizeRowsMode

    One of the DataGridViewAutoSizeRowMode values.

    selectAll

    Boolean

    true to select all the cell's contents; false to not select any contents.

    data

    Object

    The object that contains data for the DataGridView to display.

    dataMember

    String

    The name of the table or list in the data object for which the DataGridView should load the data.

    column

    DataGridViewColumn

    The DataGridViewColumn that contains the cell.

    rowIndex

    Int32

    The index of the row containing the cell.

    columnName

    String

    The Name of the column containing the cell.

    rowIndex

    Int32

    The index of the row containing the cell.

    columnIndex

    Int32

    The index of the column containing the cell.

    rowIndex

    Int32

    The index of the row containing the cell.

    rowIndex

    Int32

    The index of the row.

    columnIndex

    Int32

    The index of the column containing the cell.

    rowIndex

    Int32

    The index of the row containing the cell.

    cellAddress

    Point

    Row and column index of the cell.

    column

    DataGridViewColumn

    The DataGridViewColumn that contains the cell.

    rowIndex

    Int32

    The index of the row containing the cell.

    columnName

    String

    The Name of the column containing the cell.

    rowIndex

    Int32

    The index of the row containing the cell.

    x

    Int32

    The x coordinate relative to the DataGridView control.

    y

    Int32

    The y coordinate relative to the DataGridView control.

    position

    Point

    The x, y coordinate relative to the DataGridView control.

    cell

    DataGridViewCell

    Cell to verify.

    colIndex

    Int32

    The column index of the cell to verify.

    rowIndex

    Int32

    The row index of the cell to verify.

    cellAddress

    Point

    Coordinates of the cell to verify.

    cell

    DataGridViewCell

    Cell to verify.

    colIndex

    Int32

    The column index of the cell to verify.

    rowIndex

    Int32

    The row index of the cell to verify.

    cellAddress

    Point

    Coordinates of the cell to verify.

    cellAddress

    Point

    Cell address to verify.

    colIndex

    Int32

    The index of the column to verify.

    rowIndex

    Int32

    The index of the row to verify.

    colIndex

    Int32

    The index of the column to verify.

    rowIndex

    Int32

    The index of the row to verify.

    dirty

    Boolean

    True to indicate the cell has uncommitted changes; otherwise, false.

    e

    DataGridViewCellCancelEventArgs

    A DataGridViewCellMouseEventArgs that contains the event data.

    refreshChildren

    Boolean

    True to also refresh all the children of this control.

    summaryPosition

    SummaryRowPosition

    Position of the summary rows to remove.

    groupFromCol

    String

    Name of the first column that determines the group break values.

    groupFromCol

    String

    Name of the first column that determines the group break values.

    groupToCol

    String

    Name of the last column that determines the group break values.

    groupFromCol

    DataGridViewColumn

    First column that determines the group break values.

    groupFromCol

    DataGridViewColumn

    First column that determines the group break values.

    groupToCol

    DataGridViewColumn

    Last column that determines the group break values.

    summaryPosition

    SummaryRowPosition

    Position of the summary rows to remove.

    groupFromCol

    String

    Name of the first column that determines the group break values.

    summaryPosition

    SummaryRowPosition

    Position of the summary rows to remove.

    groupFromCol

    String

    Name of the first column that determines the group break values.

    groupToCol

    String

    Name of the last column that determines the group break values.

    summaryPosition

    SummaryRowPosition

    Position of the summary rows to remove.

    groupFromCol

    DataGridViewColumn

    First column that determines the group break values.

    groupToCol

    DataGridViewColumn

    Last column that determines the group break values.

    cell

    DataGridViewCell

    The DataGridViewCell to scroll into view.

    cell

    DataGridViewCell

    The DataGridViewCell to scroll into view.

    alignX

    Position

    One of Left or Right. Any other value is ignored and will use the least-effort alignment.

    alignY

    Position

    One of Top or Bottom. Any other value is ignored and will use the least-effort alignment.

    cellAddress

    Point

    The address of the cell to scroll into view.

    cellAddress

    Point

    The address of the cell to scroll into view.

    alignX

    Position

    One of Left or Right. Any other value is ignored and will use the least-effort alignment.

    alignY

    Position

    One of Top or Bottom. Any other value is ignored and will use the least-effort alignment.

    columnIndex

    Int32

    The zero-based column index of the cell to scroll into view.

    rowIndex

    Int32

    The zero-based row index of the cell to scroll into view.

    columnIndex

    Int32

    The zero-based column index of the cell to scroll into view.

    rowIndex

    Int32

    The zero-based row index of the cell to scroll into view.

    alignX

    Position

    One of Left or Right. Any other value is ignored and will use the least-effort alignment.

    columnIndex

    Int32

    The zero-based column index of the cell to scroll into view.

    columnIndex

    Int32

    The zero-based column index of the cell to scroll into view.

    alignX

    Position

    One of Left or Right. Any other value is ignored and will use the least-effort alignment.

    column

    DataGridViewColumn

    The DataGridViewColumnto scroll into view.

    column

    DataGridViewColumn

    The DataGridViewColumnto scroll into view.

    alignX

    Position

    One of Left or Right. Any other value is ignored and will use the least-effort alignment.

    rowIndex

    Int32

    The zero-based row index of the cell to scroll into view.

    rowIndex

    Int32

    The zero-based row index of the cell to scroll into view.

    alignY

    Position

    One of Top or Bottom. Any other value is ignored and will use the least-effort alignment.

    row

    DataGridViewRow

    The DataGridViewRowto scroll into view.

    row

    DataGridViewRow

    The DataGridViewRowto scroll into view.

    alignY

    Position

    One of Top or Bottom. Any other value is ignored and will use the least-effort alignment.

    cellAddress

    Point

    Address of the cell.

    columnIndex

    Int32

    Column index of the cell.

    rowIndex

    Int32

    Row index of the cell.

    rowIndex

    Int32

    The index of the row.

    state

    DataGridViewElementStates

    DataGridViewElementStates state to set.

    columnIndex

    Int32

    The index of the column containing the cell.

    rowIndex

    Int32

    The index of the row containing the cell.

    value

    Object

    Value to store in the cell identified by columnIndex and rowIndex .

    cellAddress

    Point

    Row and column index of the cell.

    value

    Object

    Value to store in the cell identified by cellAddress .

    columnName

    String

    The Name of the column containing the cell.

    rowIndex

    Int32

    The index of the row containing the cell.

    value

    Object

    Value to store in the cell identified by columnName and rowIndex .

    column

    DataGridViewColumn

    The DataGridViewColumn that contains the cell.

    rowIndex

    Int32

    The index of the row containing the cell.

    value

    Object

    Value to store in the cell identified by column and rowIndex .

    column

    DataGridViewColumn

    The column by which to sort the contents of the DataGridView.

    direction

    ListSortDirection

    One of the ListSortDirection values.

    comparer

    IComparer

    An implementation of IComparer that performs the custom sorting operation.

    IBindableComponent

    Bindable components implement this interface.

    IReadOnly

    Provides access to the ReadOnly property for coontrols that support the read-only mode.

    IWisejComponent

    All wisej components implement this interface.

    IWisejControl

    All wisej controls derived from the Control class must implement this interface.

    IWisejDataStore

    All wisej data stores implement this interface.

    Public Class DataGridView
        Inherits Control
        Implements ISupportInitialize, IWisejDataStore, IWisejHandler, IReadOnly
    DataGridView
    Boolean
    DataGridView
    DataSource
    IList
    DataGridView
    DataSource
    SupportsSorting
    IList
    AllowSortingDataSource
    AllowSortingDataSource
    Boolean
    Boolean
    DataGridView
    Boolean
    Boolean
    Boolean
    Boolean
    DataSource
    DataMember
    Boolean
    DataGridViewAutoSizeColumnsMode
    DataGridViewAutoSizeRowsMode
    InvalidOperationException
    AllHeaders
    DisplayedHeaders
    Int32
    BorderStyle
    DataGridView
    DataGridViewCellBorderStyle
    DataGridView
    DataGridViewClipboardCopyMode
    Clipboard
    Int32
    DataGridView
    ArgumentOutOfRangeException
    InvalidOperationException
    DataSource
    DataGridViewCellBorderStyle
    DataGridView
    DataGridViewCellStyle
    Int32
    ArgumentOutOfRangeException
    DataGridViewColumnHeadersHeightSizeMode
    Boolean
    InvalidOperationException
    InheritedAutoSizeMode
    ColumnHeader
    DataGridViewColumnCollection
    DataGridViewCell
    InvalidOperationException
    DataGridView
    DataSource
    ArgumentException
    DataGridView
    Point
    DataGridViewRow
    String
    DataGridView
    Exception
    DataError
    ThrowException
    FormatException
    Object
    DataGridView
    Exception
    DataError
    ThrowException
    FormatException
    DataGridViewCellStyle
    DataGridView
    Int32
    DataGridViewColumnsSortMode
    SortMode
    SortMode
    NotSet
    Control
    DataGridViewEditMode
    Exception
    DataError
    ThrowException
    FormatException
    DataGridViewCell
    DataGridView
    Int32
    DataGridView
    ArgumentOutOfRangeException
    InvalidOperationException
    Visible
    Frozen
    Int32
    DataGridView
    ArgumentOutOfRangeException
    InvalidOperationException
    Visible
    Frozen
    Int32
    Int32
    ArgumentOutOfRangeException
    Boolean
    Boolean
    Boolean
    DataGridViewCell
    ArgumentOutOfRangeException
    DataGridViewCell
    DataGridViewCell
    DataGridViewCell
    Boolean
    Boolean
    Int32
    Boolean
    DataGridView
    Int32
    String
    DataGridView
    Boolean
    DataGridView
    InvalidOperationException
    Exception
    DataError
    ThrowException
    FormatException
    Boolean
    RightClickSelection
    Int32
    DataGridView
    ArgumentException
    AllowUserToAddRows
    InvalidOperationException
    DataSource
    DataGridViewColumn
    DataGridViewColumn
    DataGridViewColumn
    DataGridViewCellStyle
    Int32
    ArgumentOutOfRangeException
    Boolean
    InvalidOperationException
    AutoSizeRowsMode
    AllHeaders
    DisplayedHeaders
    Int32
    ArgumentOutOfRangeException
    DataGridViewRowHeadersWidthSizeMode
    DataGridViewRowCollection
    DataGridView
    DataGridViewRow
    InvalidOperationException
    DataGridView
    ScrollBars
    DataGridView
    DataGridViewSelectedCellCollection
    DataGridViewSelectedColumnCollection
    DataGridViewSelectedRowCollection
    Int32
    DataGridView
    ArgumentOutOfRangeException
    DataGridViewSelectionMode
    DataGridView
    Boolean
    Boolean
    Boolean
    Boolean
    DataGridView
    Boolean
    DataGridViewColumn
    DataGridView
    Boolean
    SortOrder
    DataGridView
    DataGridViewSortSelectionMode
    DataGridView
    DataGridView
    Boolean
    ComponentToolCollection
    ComponentToolCollection
    Position
    ComponentTool
    DataGridViewHeaderCell
    DataGridView
    DataGridViewColumn
    Boolean
    DataGridView
    Int32
    DataGridViewSummaryRow
    DataGridViewSummaryRow[]
    DataGridViewSummaryRow
    DataGridViewSummaryRow
    DataGridViewSummaryRow[]
    DataGridViewSummaryRow
    DataGridViewSummaryRow
    DataGridViewSummaryRow[]
    DataGridViewSummaryRow
    DataGridViewSummaryRow
    DataGridViewSummaryRow[]
    DataGridViewSummaryRow
    DataGridViewSummaryRow
    DataGridViewSummaryRow[]
    DataGridViewSummaryRow
    DataGridViewSummaryRow
    DataGridViewSummaryRow[]
    DataGridViewSummaryRow
    DataGridViewSummaryRow
    DataGridViewSummaryRow[]
    DataGridViewSummaryRow
    DataGridViewSummaryRow
    DataGridViewSummaryRow[]
    DataGridViewSummaryRow
    DataGridView
    Int32
    DataGridView
    Boolean
    ArgumentOutOfRangeException
    ArgumentOutOfRangeException
    InvalidOperationException
    ColumnHeader
    ColumnHeadersVisible
    ArgumentException
    NotSet
    DoubleClick
    Fill
    ArgumentOutOfRangeException
    InvalidOperationException
    ColumnHeader
    ColumnHeadersVisible
    ArgumentException
    NotSet
    DoubleClick
    Fill
    ArgumentOutOfRangeException
    ArgumentOutOfRangeException
    InvalidOperationException
    ColumnHeader
    ColumnHeadersVisible
    ArgumentException
    DoubleClick
    Fill
    InvalidOperationException
    ColumnHeader
    ColumnHeadersVisible
    ArgumentException
    DoubleClick
    Fill
    ArgumentOutOfRangeException
    ArgumentOutOfRangeException
    InvalidOperationException
    RowHeader
    RowHeadersVisible
    ArgumentOutOfRangeException
    InvalidOperationException
    RowHeader
    RowHeadersVisible
    ArgumentOutOfRangeException
    ArgumentException
    EnableResizing
    DisableResizing
    ArgumentException
    EnableResizing
    DisableResizing
    ArgumentOutOfRangeException
    ArgumentException
    EnableResizing
    DisableResizing
    ArgumentOutOfRangeException
    ArgumentException
    EnableResizing
    DisableResizing
    ArgumentException
    DoubleClick
    InvalidOperationException
    RowHeader
    RowHeadersVisible
    Boolean
    InvalidOperationException
    CurrentCell
    EndUpdate
    Boolean
    Boolean
    Exception
    DataError
    ThrowException
    Boolean
    Exception
    DataError
    ThrowException
    BeginUpdate
    DataGridView
    Int32
    DataGridView
    Clipboard
    DataObject
    DataObject
    NotSupportedException
    ClipboardCopyMode
    Disable
    DataGridViewRow
    VirtualMode
    Object
    ArgumentNullException
    ArgumentException
    DataGridView
    ArgumentOutOfRangeException
    Count
    DataGridViewRow
    VirtualMode
    Object
    ArgumentException
    ArgumentOutOfRangeException
    Count
    DataGridViewRow
    VirtualMode
    Object
    ArgumentOutOfRangeException
    ArgumentOutOfRangeException
    Count
    DataGridViewRow
    DataGridViewElementStates
    DataGridViewElementStates
    ArgumentOutOfRangeException
    DataGridViewRow
    VirtualMode
    Object
    ArgumentOutOfRangeException
    ArgumentOutOfRangeException
    Count
    DataGridViewRow
    VirtualMode
    Object
    ArgumentOutOfRangeException
    DataGridViewRow
    VirtualMode
    Object
    ArgumentNullException
    ArgumentException
    DataGridView
    ArgumentOutOfRangeException
    Count
    DataGridViewRow
    VirtualMode
    Object
    ArgumentException
    ArgumentOutOfRangeException
    Count
    HitTestInfo
    HitTestInfo
    HitTestInfo
    HitTestInfo
    Boolean
    Boolean
    Boolean
    Boolean
    Boolean
    Boolean
    Boolean
    Boolean
    Boolean
    Boolean
    DataGridView
    TopLeftHeaderClick
    MultiSelect
    ArgumentOutOfRangeException
    ColumnIndex
    RowIndex
    DataGridView
    DataGridView
    ArgumentNullException
    ArgumentException
    DataGridView
    ArgumentNullException
    ArgumentException
    DataGridView
    ArgumentOutOfRangeException
    ArgumentOutOfRangeException
    ArgumentOutOfRangeException
    ArgumentOutOfRangeException
    ArgumentOutOfRangeException
    ArgumentOutOfRangeException
    ArgumentNullException
    ArgumentException
    DataGridView
    ArgumentNullException
    ArgumentException
    DataGridView
    ArgumentOutOfRangeException
    ArgumentOutOfRangeException
    ArgumentNullException
    ArgumentException
    DataGridView
    ArgumentNullException
    ArgumentException
    DataGridView
    SelectionMode
    MultiSelect
    SelectionMode
    MultiSelect
    SelectionMode
    MultiSelect
    SelectionMode
    MultiSelect
    ArgumentOutOfRangeException
    DataGridViewRow
    VirtualMode
    ArgumentOutOfRangeException
    ArgumentOutOfRangeException
    Count
    DataGridViewRow
    VirtualMode
    ArgumentOutOfRangeException
    DataGridViewRow
    VirtualMode
    ArgumentException
    ArgumentOutOfRangeException
    Count
    DataGridViewRow
    VirtualMode
    ArgumentNullException
    ArgumentException
    DataGridView
    ArgumentOutOfRangeException
    Count
    DataGridView
    ArgumentException
    DataGridView
    DataSource
    IsDataBound
    ArgumentNullException
    InvalidOperationException
    VirtualMode
    IsDataBound
    DataSource
    IBindingList
    DataGridView
    IComparer
    ArgumentNullException
    InvalidOperationException
    VirtualMode
    DataSource
    EventHandler
    AllowUserToAddRows
    EventHandler
    AllowUserToDeleteRowsChanged
    EventHandler
    AllowUserToOrderColumns
    EventHandler
    AllowUserToResizeColumns
    EventHandler
    AllowUserToResizeRows
    DataGridViewCellCancelEventHandler
    DataGridViewCellEventHandler
    DataGridViewCellContextMenuNeededEventHandler
    DataGridViewCellEventHandler
    DataGridViewCellEventHandler
    DataGridViewCellEventHandler
    DataGridView
    DataGridViewCellEventHandler
    ErrorText
    DataGridViewCellErrorTextNeededEventHandler
    DataGridViewCellFormattingEventHandler
    DataGridViewCellEventHandler
    DataGridViewCellMouseEventHandler
    DataGridViewCellMouseEventHandler
    DataGridView
    DataGridViewCellMouseEventHandler
    DataGridViewCellEventHandler
    DataGridViewCellEventHandler
    DataGridViewCellMouseEventHandler
    DataGridView
    DataGridViewCellMouseEventHandler
    DataGridViewCellPaintEventHandler
    UserPaint
    DataGridViewCellParsingEventHandler
    DataGridViewCellStateChangedEventHandler
    DataGridViewCellEventHandler
    Style
    DataGridViewCell
    DataGridViewCellStyleContentChangedEventHandler
    DataGridViewToolClickEventHandler
    ComponentTool
    DataGridViewCellEventHandler
    ToolTipText
    DataGridViewCellToolTipTextNeededEventHandler
    DataGridViewCellEventHandler
    DataGridViewCellValidatingEventHandler
    DataGridViewCellEventHandler
    DataGridViewCellValueEventHandler
    VirtualMode
    DataGridView
    DataGridView
    DataGridViewCellValueEventHandler
    VirtualMode
    DataGridView
    DataGridViewColumnEventHandler
    DataGridViewColumnEventHandler
    DisplayIndex
    DataGridViewColumnEventHandler
    FillWeight
    DataGridViewCellMouseEventHandler
    DataGridViewCellMouseEventHandler
    EventHandler
    ColumnHeadersHeight
    DataGridViewColumnEventHandler
    MaximumWidth
    DataGridViewColumnEventHandler
    MinimumWidth
    DataGridViewColumnEventHandler
    Name
    DataGridViewColumnEventHandler
    DataGridViewColumnEventHandler
    SortMode
    DataGridViewColumnStateChangedEventHandler
    DataGridViewColumnEventHandler
    Width
    EventHandler
    CurrentCell
    DataGridViewBindingCompleteEventHandler
    DataGridViewDataErrorEventHandler
    EventHandler
    DataMember
    DataGridViewDataReadEventHandler
    DataGridView
    VirtualMode
    CellValueNeeded
    EventHandler
    DataSource
    DataGridViewDataUpdatedEventHandler
    OnDataUpdated
    EventHandler
    DefaultRowHeight
    DataGridViewRowEventHandler
    DataGridViewEditingControlShowingEventHandler
    EventHandler
    EditMode
    EventHandler
    KeepSameRowHeight
    DataGridViewCellEventHandler
    EventHandler
    LiveResize
    EventHandler
    MultiSelect
    DataGridViewRowEventHandler
    VirtualMode
    DataGridView
    DataGridView
    EventHandler
    ReadOnly
    DataGridViewRowEventHandler
    DataGridViewCellEventHandler
    DataGridViewRowEventHandler
    ErrorText
    DataGridViewRowErrorTextNeededEventHandler
    DataGridViewRowEventHandler
    DataGridViewCellMouseEventHandler
    DataGridViewCellMouseEventHandler
    EventHandler
    RowHeadersWidth
    DataGridViewRowEventHandler
    Height
    DataGridViewRowHeightInfoNeededEventHandler
    DataGridViewCellEventHandler
    DataGridViewRowEventHandler
    MaximumHeight
    DataGridViewRowEventHandler
    MinimumHeight
    DataGridViewRowsAddedEventHandler
    DataGridView
    DataGridViewRowsRemovedEventHandler
    DataGridView
    DataGridViewRowStateChangedEventHandler
    DataGridViewCellEventHandler
    DataGridViewCellCancelEventHandler
    ScrollEventHandler
    EventHandler
    EventHandler
    ShowColumnVisibilityMenu
    DataGridViewSortCompareEventHandler
    DataGridView
    EventHandler
    DataGridView
    EventHandler
    StandardTab
    ToolClickEventHandler
    ComponentTool
    DataGridViewCellCancelEventHandler
    DataGridViewRowEventHandler
    DataGridView
    DataGridViewRowEventHandler
    DataGridView
    DataGridViewRowCancelEventHandler
    DataGridView
    public class DataGridView : Control, ISupportInitialize, IWisejDataStore, IWisejHandler, IReadOnly

    style

    summaryCol

    summaryCol

    groupToCol

    style

    summaryCol

    summaryCol

    groupToCol

    alignY

    DataSource
    SupportsSorting
    DataGridViewCellStyle
    DataGridViewCellStyle
    CustomSummary
    Custom
    String
    DataGridViewCellStyle
    DataGridViewCellStyle
    CustomSummary
    Custom
    String
    DataGridViewCellStyle
    DataGridViewCellStyle
    CustomSummary
    Custom
    String
    String
    DataGridViewCellStyle
    DataGridViewCellStyle
    CustomSummary
    Custom
    DataGridViewCellStyle
    DataGridViewCellStyle
    CustomSummary
    Custom
    DataGridViewColumn
    DataGridViewCellStyle
    DataGridViewCellStyle
    CustomSummary
    Custom
    DataGridViewColumn
    DataGridViewCellStyle
    DataGridViewCellStyle
    CustomSummary
    Custom
    DataGridViewColumn
    DataGridViewColumn
    DataGridViewCellStyle
    DataGridViewCellStyle
    CustomSummary
    Custom
    Position
    Top
    Bottom
    IWisejHandler
    IWisejSerializable