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...
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()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)Wisej.Web.DataGridViewButtonCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Displays a button widget in a cell.
: 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.
: Returns or sets the data type of the values in the cell.
Wisej.Web.DataGridViewCellToolTipTextNeededEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the
group
summaryColumn
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.
Adjusts the height of the row using the specified size mode.
sender
The source of the event.
e
A DataGridViewBindingCompleteEventArgs that contains the event data.
Occurs after a data-binding operation has finished.
Public Class DataGridViewButtonCell
Inherits DataGridViewCellpublic class DataGridViewButtonCell : DataGridViewCellCell
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 .
Returns the that indicates which part of the includes the specified coordinates.
Public Enum HitTestType As [Enum]public enum HitTestType : EnumInitializes a new instance of the DataGridViewBindingCompleteEventArgs class.
listChangedType
One of the values.
ListChangedType: Returns a value specifying how the list changed.
Represents the method that will handle the event of a .
Public Class DataGridViewBindingCompleteEventArgs
Inherits EventArgspublic class DataGridViewBindingCompleteEventArgs : EventArgsBoth
Both vertical and horizontal border.
Horizontal
An horizontal border between rows.
None
No borders.
Vertical
A vertical border between columns.
Returns or sets the cell border style for the control.
Returns or sets the border style for the column headers in the control.
Public Enum DataGridViewCellBorderStyle As [Enum]public enum DataGridViewCellBorderStyle : Enumsender
The source of the event.
e
A that contains the event data.
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.
Public Delegate Sub DataGridViewCellCancelEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellCancelEventArgs)public delegate void DataGridViewCellCancelEventHandler(Object sender, DataGridViewCellCancelEventArgs e)sender
The source of the event.
e
A that contains the event data.
Fired when a cell leaves edit mode if the cell value has been modified.
Public Delegate Sub DataGridViewCellParsingEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellParsingEventArgs)public delegate void DataGridViewCellParsingEventHandler(Object sender, DataGridViewCellParsingEventArgs e)public class DataGridViewCellToolTipTextNeededEventArgs : DataGridViewCellEventArgsPublic Class DataGridViewCellToolTipTextNeededEventArgs
Inherits DataGridViewCellEventArgsString: Gets or sets the ToolTip text.
Represents the method that handles the event of a .
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)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)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 : EventArgsPublic Class DataGridViewColumnEventArgs
Inherits EventArgsInitializes a new instance of the class.
Throws:
column is null.
: Returns the column that the event occurs for.
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)Wisej.Web.DataGridViewCellStyleScopes
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 HitTestInfoPublic Class HitTestInfo: Returns the at the specified coordinates.
: Returns the at the specified coordinates.
: Returns the index of the column that contains the specified coordinates.
: Returns the that generate this instance.
: Returns the at the specified coordinates.
: Returns the index of the row that contains the specified coordinates
: Returns the that indicates which part of the includes the specified coordinates.
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)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)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 : EnumPublic Enum DataGridViewEditMode As [Enum]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)Wisej.Web.DataGridViewDataReadEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the DataRead event.
public class DataGridViewDataReadEventArgs : EventArgsPublic Class DataGridViewDataReadEventArgs
Inherits EventArgsInitializes a new instance of the class.
: Returns the index of the first row requested by the grid.
: Returns the index of the last row requested by the grid.
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 : EnumPublic Enum DataGridViewColumnSortMode As [Enum]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)Wisej.Web.DataGridViewCellErrorTextNeededEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the CellErrorTextNeeded event of a control.
: Gets or sets the error message that is displayed when the cell is selected.
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)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)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)Wisej.Web.DataGridViewCellStyleContentChangedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the CellStyleContentChanged event.
public class DataGridViewCellStyleContentChangedEventArgs : EventArgsPublic Class DataGridViewCellStyleContentChangedEventArgs
Inherits EventArgs: Returns the changed .
: Returns the name of the property that has changed in .
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)Wisej.Web.DataGridViewImageCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Displays an image in a cell.
: Returns the type of the formatted value associated with the cell.
: Gets or sets the alignment of the image in the cell.
: Gets or sets the layout of the image in the cell.
: Returns the data type of the values in the cell.
Wisej.Web.DataGridViewCellMouseEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for mouse events raised by a DataGridView.
: Returns the zero-based column index of the cell.
: Returns the zero-based row index of the cell.
Wisej.Web.DataGridViewColumnHeadersHeightSizeMode
Wisej.Web.DataGridViewEditingControlShowingEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the
sender
The source of the event.
e
An ItemCheckEventArgs that contains the event data.
Fired when the checked state of an item changes.
Fired after the checked state of an item changes.
Fired when the check state of an item changes.
sender
The source of the event.
e
A DataGridViewCellToolTipTextNeededEventArgs that contains the event data.
Fired when a cell's ToolTip text is needed.
sender
The source of the event.
e
A DataGridViewCellContextMenuNeededEventArgs that contains the event data.
Fired when a cell's context menu is needed.
sender
The source of the event.
e
A DataGridViewCellStateChangedEventArgs that contains the event data.
Fired when a cell state changes, such as when the cell is selected or focused.
sender
The source of the event.
e
A DataGridViewCellErrorTextNeededEventArgs that contains the event data.
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.
Returns or sets a value indicating how to begin editing a cell.
sender
The source of the event.
e
A DataGridViewCellPaintEventArgs that contains the event data.
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.
Returns the sort mode in effect for the column.
Returns or sets the sort mode for the column.
sender
The source of the event.
e
A DataGridViewCellFormattingEventArgs that contains the event data.
Fired when the contents of a cell need to be formatted for display.
sender
The source of the event.
e
A DataGridViewDataUpdatedEventArgs that contains the event data.
Fired when the client has updated one or more rows in the grid.
sender
The source of the event.
e
A DataGridViewEditingControlShowingEventArgs that contains the event data.
Fired when a control for editing a cell is showing.
sender
The source of the event.
e
A DataGridViewDataErrorEventArgs that contains the event data.
Fired when a data parsing or data validation operation throws an exception, or when committing data to a data source fails.
sender
The source of the event.
e
A DataGridViewCellStyleContentChangedEventArgs that contains the event data.
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.
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]
column
The column that the event occurs for.
Represents the method that will handle column-related events of a DataGridView.
firstIndex
Index of the first row.
lastIndex
Index of the last row.
Represents the method that will handle the DataRead event.
Represents the method that will handle the CellStyleContentChanged event of a DataGridView.
Represents the method that will handle the CellErrorTextNeeded event of a DataGridView.
Public Class DataGridViewCellErrorTextNeededEventArgs
Inherits DataGridViewCellEventArgspublic class DataGridViewCellErrorTextNeededEventArgs : DataGridViewCellEventArgsPublic Class DataGridViewImageCell
Inherits DataGridViewCellpublic class DataGridViewImageCell : DataGridViewCellRepresents the method that will handle mouse-related events raised by a DataGridView.
Public Class DataGridViewCellMouseEventArgs
Inherits MouseEventArgspublic class DataGridViewCellMouseEventArgs : MouseEventArgsRowHeader
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
Returns the scope (the type of object) that owns the cell style.
The style is applied to a row.
Initializes a new instance of the ItemCheckEventArgs class.
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.
CheckState: Returns a value indicating the current state of the item's check box.
Int32: Returns the zero-based index of the item to change.
CheckState: Returns or sets whether to set the check box for the item to be checked, unchecked, or indeterminate.
Represents the method that will handle the ItemCheck event of a or control.
Public Class ItemCheckEventArgs
Inherits EventArgspublic class ItemCheckEventArgs : EventArgsInitializes a new instance of the DataGridViewCellCancelEventArgs class.
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.
Int32: Returns the column index of the cell that the event occurs for.
Int32: Returns the row index of the cell that the event occurs for.
Represents the method that will handle the and events of a .
Public Class DataGridViewCellCancelEventArgs
Inherits CancelEventArgspublic class DataGridViewCellCancelEventArgs : CancelEventArgssender
A reference to the event sender.
e
A that contains the event data.
Fired when a cell loses input focus, enabling content validation.
Public Delegate Sub DataGridViewCellValidatingEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellValidatingEventArgs)public delegate void DataGridViewCellValidatingEventHandler(Object sender, DataGridViewCellValidatingEventArgs e)sender
The source of the event.
e
A that contains the event data.
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.
Public Delegate Sub DataGridViewCellValueEventHandler(ByVal sender As [Object], ByVal e As DataGridViewCellValueEventArgs)public delegate void DataGridViewCellValueEventHandler(Object sender, DataGridViewCellValueEventArgs e)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.
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 : EnumCopyToClient
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.
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.
Public Enum DataGridViewClipboardCopyMode As [Enum]public enum DataGridViewClipboardCopyMode : EnumInitializes a new instance of the DataGridViewColumnStateChangedEventArgs class.
column
The whose state has changed.
state
One of the values.
DataGridViewColumn: Returns the column whose state changed.
DataGridViewElementStates: Returns the new column state.
Represents the method that will handle the event of a .
Public Class DataGridViewColumnStateChangedEventArgs
Inherits EventArgspublic class DataGridViewColumnStateChangedEventArgs : EventArgsBestFit
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
Gets or sets the layout of the image in the cell.
Gets or sets the image layout in the cells for this column.
Public Enum DataGridViewImageCellLayout As [Enum]public enum DataGridViewImageCellLayout : Enumpublic class DataGridViewEditingControlShowingEventArgs : DataGridViewCellEventArgsPublic Class DataGridViewEditingControlShowingEventArgs
Inherits DataGridViewCellEventArgsDataGridViewCellStyle: Returns or sets the cell style of the edited cell.
Control: The control shown to the user for editing the selected cell's value.
Represents the method that will handle the event of a .
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.
Returns or sets the default for all columns when the property is set to (default).
Public Enum DataGridViewColumnsSortMode As [Enum]public enum DataGridViewColumnsSortMode : EnumWisej.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, IEnumerablePublic Class BaseCollection
Inherits ICollection
Implements IEnumerableInitializes a new instance of the class.
Wisej.Web.DataGridViewAutoSizeColumnMode
Wisej.Web.DataGridViewCellStateChangedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the CellStateChanged event.
public class DataGridViewCellStateChangedEventArgs : EventArgsPublic Class DataGridViewCellStateChangedEventArgs
Inherits EventArgsInitializes a new instance of the class.
Throws:
cell is null.
: Returns the that has a changed state.
: Returns the state that has changed on the cell.
Wisej.Web.DataGridViewDataErrorEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the DataError event.
Initializes a new instance of the class.
: Returns the exception that represents the error.
: 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.
Wisej.Web.DataGridViewCellPaintEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for CellPaint event.
Initializes a new instance of the class.
Throws:
columnIndex is less than -1, or rowIndex is less than -1.
: Returns a value indicating the column index of the cell that the event occurs for.
: Returns a value indicating the row index of the cell that the event occurs for.
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)Wisej.Web.DataGridViewDateTimePickerCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Displays an editable control in a cell when in edit mode.
: Returns or sets the custom date/time format string.
See for the supported format definitions.
: Returns the type of the cell's hosted editing control.
: Returns or sets the format of the date/time value displayed in the control.
: 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).
: 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).
: 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.
: Returns the instance of associated with this cell.
: Returns or sets the data type of the values in the cell.
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)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 : EnumPublic Enum DataGridViewContentAlignment As [Enum]Wisej.Web.DataGridViewCellParsingEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the
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.
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.
cell
The DataGridViewCell that has a changed state.
state
One of the DataGridViewElementStates values indicating the state that has changed on the cell.
Represents the method that will handle the CellStateChanged event of a DataGridView.
exception
The exception that occurred.
columnIndex
The column index of the cell that raised the DataError.
rowIndex
The row index of the cell that raised the DataError.
Represents the method that will handle the DataError event of a DataGridView.
Public Class DataGridViewDataErrorEventArgs
Inherits DataGridViewCellCancelEventArgspublic class DataGridViewDataErrorEventArgs : DataGridViewCellCancelEventArgsPublic Class DataGridViewDateTimePickerCell
Inherits DataGridViewCellpublic class DataGridViewDateTimePickerCell : DataGridViewCellThe 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.
Gets or sets the alignment of the image in the cell.
Gets or sets the image alignment in the cells for the column.
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 .
Represents a collection of cells in a DataGridViewRow.
Represents a collection of DataGridViewRow objects that are childre of another DataGridViewRow.
Represents a collection of DataGridViewColumn objects in a DataGridView control.
Represents a collection of cells that are selected in a DataGridView.
Represents a collection of DataGridViewColumn objects that are selected in a DataGridView.
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
Gets or sets the mode by which the column automatically adjusts its width.
Returns the sizing mode in effect for the column.
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
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.
graphics
The Graphics used to paint the item.
Represents the method that will handle CellPaint events.
Public Class DataGridViewCellPaintEventArgs
Inherits PaintEventArgspublic class DataGridViewCellPaintEventArgs : PaintEventArgsclipRect
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
The source of the event.
e
A DataGridViewCellMouseEventArgs that contains the event data.
Occurs whenever the user clicks anywhere on a cell with the mouse.
Fired when a cell within the DataGridView is double-clicked.
Fired when the mouse pointer moves over the DataGridView control.
Fired when the user presses a mouse button while the pointer is within the boundaries of a cell.
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
The source of the event.
e
A DataGridViewColumnEventArgs that contains the event data.
Fired when a column is added to the control.
Fired when a column is removed from the control.
Fired when the value the DisplayIndex property for a column changes.
Fired when the value of the Width property for a column changes.
Fired when the value of the MinimumWidth property for a column changes.
Int32: Returns the number of selected items.
Boolean: Returns a value indicating whether this collection can be modified.
Object: Return an item in the checked items collection.
Throws:
NotSupportedException The object cannot be set.
Determines if the specified item is located within the collection.
item
An object representing the item to locate in the collection.
Returns: Boolean. true if the item is located within the collection; otherwise, false.
Copies the entire collection into an existing array at a specified location within the array.
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 .
Returns an enumerator that can be used to iterate through the CheckedItems collection.
Returns: IEnumerator. An IEnumerator for navigating through the list.
Returns an index into the collection of checked items.
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.
Public Class CheckedObjectCollection
Inherits IList
Implements ICollection, IEnumerablepublic class CheckedObjectCollection : IList, ICollection, IEnumerablepublic class DataGridViewCellParsingEventArgs : ConvertEventArgsPublic Class DataGridViewCellParsingEventArgs
Inherits ConvertEventArgsInitializes a new instance of the DataGridViewCellParsingEventArgs class.
rowIndex
The row index of the cell that was changed.
columnIndex
The column index of the cell that was changed.
value
The new value.
Int32: Returns the column index of the cell data that requires parsing.
DataGridViewCellStyle: Returns or sets the style applied to the edited cell.
Boolean: Returns or sets whether a cell's value has been successfully parsed.
Int32: Returns the row index of the cell that requires parsing.
Represents the method that will handle a event of a .
sender
The source of the event.
e
A that contains the event data.
Fired when a column changes state, such as becoming visible.
Public Delegate Sub DataGridViewColumnStateChangedEventHandler(ByVal sender As [Object], ByVal e As DataGridViewColumnStateChangedEventArgs)public delegate void DataGridViewColumnStateChangedEventHandler(Object sender, DataGridViewColumnStateChangedEventArgs e)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, IEnumerablePublic Class CheckedIndexCollection
Inherits IList
Implements ICollection, IEnumerable: Returns the number of selected items.
: Returns a value indicating whether this collection can be modified.
: 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.
Determines if the specified index is located within the collection.
Returns: . true if the index is located within the collection; otherwise, false.
Copies the entire collection into an existing array at a specified location within the array.
Throws:
array is null.
array is multidimensional.
index is less than zero.
Returns an enumerator that can be used to iterate through the collection.
Returns: . An for navigating through the list.
Returns an index into the collection of checked indexes.
Returns: . The index that specifies the index of the checked item or -1 if the index parameter is not in the checked indexes collection.
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 : EventArgsPublic Class DataGridViewCellValueEventArgs
Inherits EventArgsInitializes a new instance of the class.
Throws:
columnIndex is less than 0; or rowIndex is less than 0.
: Returns a value indicating the column index of the cell that the event occurs for.
: Returns a value indicating the row index of the cell that the event occurs for.
: Returns or sets the value of the cell that the event occurs for.
Wisej.Web.DataGridViewChildRowCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents a collection of DataGridViewRow objects that are childre of another .
: 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.
Determines whether the specified row is contained in the collection.
Returns: . true if row is in the collection; otherwise, false.
Copies the elements of the collection to the specified array, starting at the specified index.
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 .
Returns the index of the specified element.
Returns: . The zero-based index of the row parameter if it is found in the collection; otherwise, -1.
Wisej.Web.DataGridViewNumericUpDownCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Displays an editable control in a cell when in edit mode.
: 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.
: Returns the type of the cell's hosted editing control.
: Returns or sets the visibility of the spinner buttons.
: 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.
: Returns or sets the maximum value for the spin column (also known as an up-down column).
: Returns or sets the minimum allowed value for the spin column (also known as an up-down column).
: Returns or sets whether a thousands separator is displayed in the spin column (also known as an up-down column) when appropriate.
: Returns or sets the data type of the values in the cell.
Wisej.Web.DataGridViewCellContextMenuNeededEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the CellContextMenuNeeded event.
Initializes a new instance of the class.
Initializes a new instance of the class.
: Returns or sets the context menu for the cell that raised the event.
Wisej.Web.DataGridViewImageColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents a column that contains a collection of cells.
Initializes a new instance of the class to the default state.
Initializes a new instance of the class to the default state.
: 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.
: 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.
: 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.
: 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.
: Returns or sets the template used to model cell appearance.
Throws:
The type is null.
The set type is not compatible with type .
: Returns or sets the data type of the values in the column's cells.
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 : CollectionChangeEventArgsPublic Class DataGridViewCollectionChangeEventArgs
Inherits CollectionChangeEventArgsProvides data for the System.Data.DataColumnCollection.CollectionChanged event.
Provides data for the System.Data.DataColumnCollection.CollectionChanged event.
: Indicates whether the DataGridView should recreate the new automatic row when the collection changes.
Wisej.Web.DataGridViewDateTimePickerEditingControl
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Wisej.Web.DataGridViewCheckBoxColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Wisej.Web.DataGridViewCheckBoxCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Wisej.Web.DataGridViewLinkColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Wisej.Web.DataGridViewNumericUpDownEditingControl
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
ArrayTypeMismatchException The type of the source Array cannot be cast automatically to the type of the destination Array.
index
The index to locate in the collection.
array
The destination array.
index
The zero-based relative index in array at which copying begins.
index
The index of the checked item.
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.
value
The current value or null.
Represents the method that will handle the CellValueNeeded event or CellValuePushed event of a DataGridView.
action
One of the System.ComponentModel.CollectionChangeAction values that specifies how the collection changed.
element
The instance of the collection that changed. Usually when action = Refresh, element is null.
action
One of the System.ComponentModel.CollectionChangeAction values that specifies how the collection changed.
element
The instance of the collection that changed. Usually when action = Refresh, element is null.
recreateNewRow
Indicates whether the grid should re-create the new automatic row.
desiredType
The type of the new value.
inheritedCellStyle
The style applied to the cell that was changed.
InvalidCastException The DataGridViewCellCollection cannot be cast automatically to the type of array .
row
The DataGridViewRow to locate in the DataGridViewSelectedRowCollection.
array
The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
index
The zero-based index in the array at which copying begins.
row
The DataGridViewRow to locate in the collection.
Public Class DataGridViewChildRowCollection
Inherits BaseCollection
Implements IList, IList(Of DataGridViewRow), ICollection(Of DataGridViewRow), IEnumerable(Of DataGridViewRow)public class DataGridViewChildRowCollection : BaseCollection, IList, IList<DataGridViewRow>, ICollection<DataGridViewRow>, IEnumerable<DataGridViewRow>Public Class DataGridViewNumericUpDownCell
Inherits DataGridViewCellpublic class DataGridViewNumericUpDownCell : DataGridViewCellcellTemplate
An existing DataGridViewImageCell to use as a template.
All wisej components implement this interface.
Allows an object to serialize itself.
Public Class DataGridViewImageColumn
Inherits DataGridViewColumnpublic class DataGridViewImageColumn : DataGridViewColumnThe y-coordinate of the pointer relative to the cell.
columnIndex
The column index of cell that the event occurred for.
rowIndex
The row index of the cell that the event occurred for.
columnIndex
The column index of cell that the event occurred for.
rowIndex
The row index of the cell that the event occurred for.
x
The x-coordinate of the pointer relative to the cell.
Represents the method that will handle a CellContextMenuStripNeeded event of a DataGridView.
Public Class DataGridViewCellContextMenuNeededEventArgs
Inherits DataGridViewCellEventArgspublic class DataGridViewCellContextMenuNeededEventArgs : DataGridViewCellEventArgsy
Represents a DateTimePicker control that can be hosted in a DataGridViewDateTimePickerCell.
public class DataGridViewDateTimePickerEditingControl : DateTimePicker, IDataGridViewEditingControlPublic Class DataGridViewDateTimePickerEditingControl
Inherits DateTimePicker
Implements IDataGridViewEditingControlDataGridView: Returns or sets the DataGridView that contains the text box control.
Adapts the edit control's properties to be consistent with the specified cell style.
style
The in effect for the cell entering edit mode.
Retrieves the formatted value of the cell.
Prepares the edit control for editing.
selectAll
true to select the cell contents; otherwise, false.
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.
Represents a DataGridView column that contains a collection of DataGridViewCheckBoxCell cells.
public class DataGridViewCheckBoxColumn : DataGridViewColumnPublic Class DataGridViewCheckBoxColumn
Inherits DataGridViewColumnInitializes a new instance of the DataGridViewCheckBoxColumn class to the default state.
Initializes a new instance of the DataGridViewCheckBoxColumn class to the default state.
cellTemplate
An existing to use as a template.
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.
DataGridViewCellStyle: Returns or sets the column's default cell style.
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.
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.
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.
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.
Type: Returns or sets the data type of the values in the column's cells.
All wisej components implement this interface.
Allows an object to serialize itself.
Displays a CheckBox icon (not the actual control) in a DataGridViewCell cell.
public class DataGridViewCheckBoxCell : DataGridViewCellPublic Class DataGridViewCheckBoxCell
Inherits DataGridViewCellObject: Gets or sets the value that corresponds to false, which appears as an unchecked box.
Type: Returns the type of the formatted value associated with the cell.
Object: Gets or sets the value that corresponds to indeterminate, which appears as an indeterminate box.
Boolean: Returns or sets a value indicating if the checkbox cell supports three states.
Object: Gets or sets the value that corresponds to true, which appears as checked box.
Type: Returns or sets the data type of the values in the cell.
Converts a value to the actual cell value.
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.
Represents a DataGridView column that contains a collection of DataGridViewLinkCell cells.
public class DataGridViewLinkColumn : DataGridViewColumnPublic Class DataGridViewLinkColumn
Inherits DataGridViewColumnInitializes a new instance of the DataGridViewLinkColumn class to the default state.
Initializes a new instance of the DataGridViewLinkColumn class to the default state.
cellTemplate
An existing to use as a template.
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: 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.
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.
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.
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.
Type: Returns or sets the data type of the values in the column's cells.
All wisej components implement this interface.
Allows an object to serialize itself.
Represents a NumericUpDown control that can be hosted in a DataGridViewNumericUpDownCell.
public class DataGridViewNumericUpDownEditingControl : NumericUpDown, IDataGridViewEditingControlPublic Class DataGridViewNumericUpDownEditingControl
Inherits NumericUpDown
Implements IDataGridViewEditingControlDataGridView: Returns or sets the DataGridView that contains the text box control.
Adapts the edit control's properties to be consistent with the specified cell style.
style
The in effect for the cell entering edit mode.
Retrieves the formatted value of the cell.
Prepares the edit control for editing.
selectAll
true to select the cell contents; otherwise, false.
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.
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
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 : EnumInitializes a new instance of the DataGridViewDataUpdatedEventArgs class.
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.
Int32: The index of the first DataGridViewRow that has been loaded on the client.
Int32: The index of the last DataGridViewRow that has been loaded on the client.
Represents the method that will handle the event of a .
Public Class DataGridViewDataUpdatedEventArgs
Inherits EventArgspublic class DataGridViewDataUpdatedEventArgs : EventArgssender
The source of the event.
e
A that contains the event data.
Occurs when the client requests a set of rows from the server.
Public Delegate Sub DataGridViewDataReadEventHandler(ByVal sender As [Object], ByVal e As DataGridViewDataReadEventArgs)public delegate void DataGridViewDataReadEventHandler(Object sender, DataGridViewDataReadEventArgs e)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)Wisej.Web.DataGridViewComboBoxEditingControl
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents a control that can be hosted in a .
Initializes a new instance of the class.
: Returns or sets the that contains the text box control.
Changes the control's user interface (UI) to be consistent with the specified cell style.
Retrieves the formatted value of the cell.
Returns: . An that represents the formatted version of the cell contents.
Prepares the currently selected cell for editing.
Wisej.Web.DataGridViewNumericUpDownColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents a column that contains a collection of cells.
Initializes a new instance of the class to the default state.
Initializes a new instance of the class to the default state.
: Returns or sets the template used to model cell appearance.
Throws:
The type is null.
The set type is not compatible with type .
: 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.
: Returns or sets the visibility of the spinner buttons.
: 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.
: Returns or sets the maximum value for the spin column (also known as an up-down column).
: Returns or sets the minimum allowed value for the spin column (also known as an up-down column).
: Returns or sets whether a thousands separator is displayed in the spin column (also known as an up-down column) when appropriate.
: Returns or sets the data type of the values in the column's cells.
Wisej.Web.DataGridViewHeaderCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Contains functionality common to row header cells and column header cells.
:
: Returns a value indicating whether the cell is frozen.
: Returns a value indicating whether the header cell is read-only.
Throws:
An operation tries to set this property.
: Returns a value indicating whether the cell is resizable.
: Returns or sets whether the cell is selected.
Throws:
This property is being set.
: Returns the type of the value stored in the cell.
: Returns a value indicating whether or not the cell is visible.
Creates a copy of this cell.
Returns: . The cloned .
Returns a value indicating the current state of the cell as inherited from the state of its row or column.
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.
Wisej.Web.DataGridViewMaskedTextBoxEditingControl
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents a control that can be hosted in a cell.
: Returns or sets the that contains the text box control.
: Returns the length of text in the control.
Adapts the edit control's properties to be consistent with the specified cell style.
Retrieves the formatted value of the cell.
Returns: . The formatted version of the cell's value.
Prepares the currently selected cell for editing.
Wisej.Web.DataGridViewCellFormattingEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the CellFormatting event of a .
Initializes a new instance of the class.
Throws:
columnIndex is less than -1 or rowIndex is less than -1.
: Returns or sets the style of the cell that is being formatted.
: Returns the column index of the cell that is being formatted.
: Returns or sets whether the cell value has been successfully formatted.
: Returns the row index of the cell that is being formatted.
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 : EventArgsPublic Class DataGridViewCellEventArgs
Inherits EventArgsInitializes a new instance of the class.
Throws:
columnIndex is less than -1, or rowIndex is less than -1.
: Returns a value indicating the column index of the cell that the event occurs for.
: Returns the location of the mouse or pointer event.
: 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.
: Returns a value indicating the row index of the cell that the event occurs for.
: Returns the x-coordinate of the mouse or touch event.
: Returns the y-coordinate of the mouse or touch event.
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 : CancelEventArgsPublic Class DataGridViewCellValidatingEventArgs
Inherits CancelEventArgs: Returns the column index of the cell that needs to be validated.
: Return or sets the formatted contents of the cell that needs to be validated.
: Returns the row index of the cell that needs to be validated.
Wisej.Web.DataGridViewLinkCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Displays a link widget in a cell.
: Returns or sets a value that represents the behavior of the link cell.
: Returns or sets the color used when displaying a normal link.
: 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.
: Returns or sets the data type of the values in the cell.
Wisej.Web.CheckedListBox ObjectCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents the collection of items in a
Wisej.Web.DataGridViewDateTimePickerColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
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.
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.
Represents the method that will handle DataGridView events related to cell and row operations.
Represents the method that will handle the CellValidating event of a DataGridView control.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
valueTypeConverter
A TypeConverter for the cell value type, or null to use the default converter.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
cellTemplate
An existing DataGridViewNumericUpDownCell to use as a template.
All wisej components implement this interface.
Allows an object to serialize itself.
Public Class DataGridViewNumericUpDownColumn
Inherits DataGridViewColumnpublic class DataGridViewNumericUpDownColumn : DataGridViewColumnrowIndex
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.
Represents a column header in a DataGridView control.
Represents a row header of a DataGridView control.
Public Class DataGridViewHeaderCell
Inherits DataGridViewCellpublic class DataGridViewHeaderCell : DataGridViewCellPublic Class DataGridViewLinkCell
Inherits DataGridViewCellpublic class DataGridViewLinkCell : DataGridViewCellOccurs 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
The source of the event.
e
A DataGridViewCellEventArgs that contains the event data.
Fired when the value of a cell changes.
Fired when the Style property of a DataGridViewCell changes.
Fired when edit mode stops for the current cell.
Fired when the current cell changes in the DataGridView control or when the control receives input focus.
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
The DataGridViewCellStyle to use as the model for the UI.
selectAll
true to select the cell contents; otherwise, false.
Defines common functionality for controls that are hosted within cells of a DataGridView.
Bindable components implement this interface.
Provides access to the LabelWrapper associated with the controls that implement this interface.
Provides access to the ReadOnly property for coontrols that support the read-only mode.
Provides access to the Modified property and ModifiedChanged event for controls that implement this interface.
Public Class DataGridViewComboBoxEditingControl
Inherits ComboBox
Implements IDataGridViewEditingControlpublic class DataGridViewComboBoxEditingControl : ComboBox, IDataGridViewEditingControlAll wisej components implement this interface.
All wisej controls derived from the class must implement this interface.
Allows an object to serialize itself.
style
The DataGridViewCellStyle in effect for the cell entering edit mode.
selectAll
true to select the cell contents; otherwise, false.
Defines common functionality for controls that are hosted within cells of a DataGridView.
Bindable components implement this interface.
Provides access to the LabelWrapper associated with the controls that implement this interface.
Provides access to the ReadOnly property for coontrols that support the read-only mode.
Provides access to the Modified property and ModifiedChanged event for controls that implement this interface.
Public Class DataGridViewMaskedTextBoxEditingControl
Inherits MaskedTextBox
Implements IDataGridViewEditingControlpublic class DataGridViewMaskedTextBoxEditingControl : MaskedTextBox, IDataGridViewEditingControlThe type to convert value to.
cellStyle
The style of the cell that caused the event.
columnIndex
The column index of the cell that caused the event.
rowIndex
The row index of the cell that caused the event.
value
The cell's contents.
Represents the method that will handle the CellFormatting event of a DataGridView.
Public Class DataGridViewCellFormattingEventArgs
Inherits ConvertEventArgspublic class DataGridViewCellFormattingEventArgs : ConvertEventArgsdesiredType
public class ObjectCollection : ObjectCollectionPublic Class ObjectCollection
Inherits ObjectCollectionAdds an item to the list of items for a ListBox.
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.
Adds an item to the list of items for a CheckedListBox.
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.
Adds an item to the list of items for a CheckedListBox.
item
An object representing the item to add to the collection.
check
The check state for the new item.
Returns: Int32.
Adds a collection of items to the list.
items
Collection of items to add to the list.
Removes all items from the CheckedListBox control.
Inserts an item into the collection at the specified index.
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.
Inserts an item into the collection at the specified index.
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.
Removes an item from the ListBox at the specified index.
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.
Represents a DataGridView column that contains a collection of DataGridViewDateTimePickerCell cells.
public class DataGridViewDateTimePickerColumn : DataGridViewColumnPublic Class DataGridViewDateTimePickerColumn
Inherits DataGridViewColumnInitializes a new instance of the DataGridViewDateTimePickerColumn class to the default state.
Initializes a new instance of the DataGridViewDateTimePickerColumn class to the default state.
cellTemplate
An existing to use as a template.
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.
String: Returns or sets the custom date/time format string.
See Custom Date and Time Format Strings for the supported format definitions.
DataGridViewCellStyle: Returns or sets the column's default cell style.
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.
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.
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.
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.
ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.
Type: Returns or sets the data type of the values in the column's cells.
All wisej components implement this interface.
Allows an object to serialize itself.
Displays an editable MaskedTextBox control in a DataGridViewCell cell when in edit mode.
public class DataGridViewMaskedTextBoxCell : DataGridViewCellPublic Class DataGridViewMaskedTextBoxCell
Inherits DataGridViewCellCultureInfo: Returns or sets the culture information associated with the masked cell.
Type: Returns the type of the cell's editing control.
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.
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.
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.
MaskFormat: Returns or sets a value that determines whether literals and prompt characters are included in the formatted string.
ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this cell.
Type: Returns or sets the data type of the values in the cell.
Initializes the control used to edit the cell.
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.
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, IEnumerablePublic Class ObjectCollection
Inherits IList
Implements ICollection, IEnumerable: Returns the number of items in the collection.
: Returns a value indicating whether this collection can be modified.
: 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.
Adds an item to the list of items for a .
Returns: . The zero-based index of the item in the collection.
Throws:
The item parameter was null.
Adds a collection of items to the list.
Removes all items from the .
Determines if the specified item is located within the collection.
Returns: . true if the item is located within the collection; otherwise, false.
Copies the entire collection into an existing array of objects at a specified location within the array.
Returns an enumerator that can be used to iterate through the item collection.
Returns: . A that represents the item collection.
Retrieves the index within the collection of the specified item.
Returns: . The zero-based index where the item is located within the collection; otherwise, -1.
Throws:
The value parameter was null.
Inserts an item into the collection at the specified index.
Throws:
The item was null.
The index was less than zero; or the index was greater than the count of items in the collection.
Removes the specified item from the .
Removes an item from the at the specified index.
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.
Fired when the collection changes.
Wisej.Web.DataGridViewButtonColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents a column that contains a collection of cells.
Initializes a new instance of the class to the default state.
Initializes a new instance of the class to the default state.
: Returns or sets the template used to model cell appearance.
Throws:
The type is null.
The set type is not compatible with type .
: 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.
: 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.
: Returns or sets the data type of the values in the column's cells.
Wisej.Web.DataGridViewBand
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents a linear collection of elements in a
Wisej.Web.DataGridViewColumnHeaderCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
item
An object representing the item to add to the collection.
items
Collection of items to add to the list.
value
An object representing the item to locate in the collection.
destination
The object array to copy the collection to.
index
The location in the destination array to copy the collection to.
value
An object representing the item to locate in the collection.
index
The zero-based index location where the item is inserted.
item
An object representing the item to insert.
value
The Object to remove from the list.
index
The index of the item to remove.
cellTemplate
An existing DataGridViewButtonCell to use as a template.
All wisej components implement this interface.
Allows an object to serialize itself.
Public Class DataGridViewButtonColumn
Inherits DataGridViewColumnpublic class DataGridViewButtonColumn : DataGridViewColumnpublic class DataGridViewBand : DataGridViewElement, ICloneablePublic Class DataGridViewBand
Inherits DataGridViewElement
Implements ICloneableContextMenu: Returns or sets the shortcut menu for the row or the column object.
DataGridViewCellStyle: Returns or sets the default cell style of the band.
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.
Boolean: Returns a value indicating whether the band is currently displayed on screen.
Boolean: Returns or sets whether the band will move when a user scrolls through the DataGridView.
Boolean: Returns a value indicating whether the DefaultCellStyle property has been set.
Int32: Returns the relative position of the band within the DataGridView control.
DataGridViewCellStyle: Returns the cell style in effect for the current band, taking into account style inheritance.
Boolean: Returns true when the implementation class is DataGridViewRow.
Boolean: Returns or sets whether the user can edit the band's cells.
DataGridViewTriState: Returns or sets whether the band can be resized in the user interface (UI).
Boolean: Returns or sets whether the band is in a selected user interface (UI) state.
Object: Returns or sets the object that contains data to associate with the band.
Object: Returns a dynamic object that can be used to store custom data in relation to this band.
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.
Creates an exact copy of this band.
Returns: Object. An Object that represents the cloned DataGridViewBand.
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.
Initializes a new instance of the DataGridViewCellStyle class using default property values.
DataGridViewContentAlignment: Returns or sets a value indicating the position of the cell content within a DataGridViewCell cell.
Color: Returns or sets the background color of a DataGridViewCell cell.
Image: Returns or sets the background image displayed in a DataGridViewCell cell.
ContentAlignment: Returns or sets the background image alignment as defined in the ContentAlignment enumeration.
ImageLayout: Returns or sets the background image layout as defined in the ImageLayout enumeration.
String: Returns or sets the theme name or URL for the background image displayed in a DataGridViewCell cell.
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.
String: Returns or sets additional CSS class names to add to the DataGridViewCell.
String: Returns or sets the custom CSS styles to apply to the DataGridViewCell.
You can use any CSS style string.
Object: Returns or sets the value saved to the data source when the user enters a null value into a cell.
Font: Returns or sets the font applied to the textual content of a DataGridViewCell cell.
Color: Returns or sets the foreground color of a DataGridViewCell cell.
String: Returns or sets the format string applied to the textual content of a DataGridView cell.
IFormatProvider: Returns or sets the object used to provide culture-specific formatting of DataGridView cell values.
Boolean: Returns a value indicating whether the DataSourceNullValue property has been set.
Boolean: Returns a value that indicates whether the FormatProvider property has been set.
Object: Returns or sets the DataGridView cell display value corresponding to a cell value of Value or null.
Padding: Returns or sets the space between the edge of a DataGridViewCell and its content.
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.
DataGridViewCellStyleScopes: Returns the scope (the type of object) that owns the cell style.
Object: Returns or sets an object that contains additional data related to the DataGridViewCellStyle.
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.
Creates an exact copy of this DataGridViewCellStyle.
Returns: DataGridViewCellStyle. A DataGridViewCellStyle that represents an exact copy of this cell style.
Releases all resources used by the DataGridViewCellStyle.
Public Class DataGridViewCellStyle
Inherits ICloneable
Implements IHasPropertyStore, IDisposablepublic class DataGridViewCellStyle : ICloneable, IHasPropertyStore, IDisposableRepresents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.
public class DataGridViewMaskedTextBoxColumn : DataGridViewColumnPublic Class DataGridViewMaskedTextBoxColumn
Inherits DataGridViewColumnInitializes a new instance of the DataGridViewMaskedTextBoxColumn.
Initializes a new instance of the DataGridViewMaskedTextBoxColumn.
cellTemplate
An existing to use as a template.
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.
CultureInfo: Returns or sets the culture information associated with the masked cell.
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.
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.
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.
Boolean: Returns or sets whether the empty mask is shown in the cell when the value is null or empty.
MaskFormat: Returns or sets a value that determines whether literals and prompt characters are included in the formatted string.
ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.
Type: Returns or sets the data type of the values in the column's cells.
All wisej components implement this interface.
Allows an object to serialize itself.
Represents a column header in a DataGridView control.
public class DataGridViewColumnHeaderCell : DataGridViewHeaderCellPublic Class DataGridViewColumnHeaderCell
Inherits DataGridViewHeaderCellString: This property is not relevant for this class.
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.
Returns the style applied to the column header cell.
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.
Wisej.Web.CheckedListBox
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Wisej.Web.DataGridViewComboBoxCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
// add a double underline to the cell.
this.dataGridView1[3, 4].Style.CssStyle = "border-bottom:2px solid black";
Represents a DataGridView column that contains a collection of DataGridViewImageCell cells.
Represents a DataGridView column that contains a collection of DataGridViewLinkCell cells.
Represents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.
Represents a DataGridView column that contains a collection of DataGridViewNumericUpDownCell cells.
Represents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.
Represents a row in a DataGridView control.
Represents a summary row in a DataGridView control.
Displays a ListBox in which a check box is displayed to the left of each item.
public class CheckedListBox : ListBoxPublic Class CheckedListBox
Inherits ListBoxInitializes a new instance of the CheckedListBox class.
CheckedIndexCollection: Collection of checked indexes in the CheckedListBox.
CheckedObjectCollection: Collection of checked items in the CheckedListBox.
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.
String: Returns or sets the property to bind to the CheckState of the items in the CheckedListBox control.
ObjectCollection: Returns the collection of items in this CheckedListBox.
Unchecks all items in the CheckedListBox.
Returns a value indicating whether the specified item is checked.
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.
Returns a value indicating the check state of the current item.
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.
Sets CheckState for the item at the specified index to Checked.
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.
Sets the check state of the item at the specified index.
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.
ItemCheckEventHandler Fired after the checked state of an item changes.
EventHandler Fired when the CheckStateMember property changes.
EventHandler Fired when the user clicks the CheckedListBox control.
ItemCheckEventHandler Fired when the checked state of an item changes.
MouseEventHandler Fired when the user clicks the CheckedListBox control with the mouse.
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.
Int32: Returns the number of items in the collection.
Boolean: Returns a value indicating whether this collection can be modified.
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.
Adds an item to the list of items for a DataGridViewComboBoxColumn.
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.
Adds a collection of items to the list.
items
Collection of items to add to the list.
Removes all items from the DataGridViewComboBoxColumn.
Determines if the specified item is located within the collection.
value
An object representing the item to locate in the collection.
Returns: Boolean. true if the item is located within the collection; otherwise, false.
Copies the entire collection into an existing array of objects at a specified location within the array.
destination
The object array to copy the collection to.
index
The location in the destination array to copy the collection to.
Returns an enumerator that can be used to iterate through the item collection.
Returns: IEnumerator. A IEnumerator that represents the item collection.
Retrieves the index within the collection of the specified item.
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.
Inserts an item into the collection at the specified index.
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.
Removes the specified item from the DataGridViewComboBoxColumn.
value
The to remove from the list.
Removes an item from the DataGridViewComboBoxColumn at the specified index.
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.
CollectionChangeEventHandler Fired when the collection changes.
Public Class ObjectCollection
Inherits IList
Implements ICollection, IEnumerablepublic class ObjectCollection : IList, ICollection, IEnumerableDisplays an editable ComboBox control in a DataGridViewCell cell when in edit mode.
public class DataGridViewComboBoxCell : DataGridViewCellPublic Class DataGridViewComboBoxCell
Inherits DataGridViewCellAutoCompleteMode: Returns or sets how automatic completion works for the DataGridViewComboBoxColumn.
CharacterCasing: Returns or sets whether the cell editor modifies the case of characters as they are typed.
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.
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.
ComboBoxStyle: Returns or sets the style of the combo box.
Type: Returns the type of the cell's hosted editing control.
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.
Boolean: Returns or sets whether items are selected incrementally as the user types within a timeout of 1 second.
ObjectCollection: Returns the collection of the items contained in this DataGridViewComboBoxCell.
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.
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.
ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this cell.
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.
Type: Returns or sets the data type of the values in the cell.
String: Returns or sets the text to show when the control is empty.
Converts a value to the actual cell value.
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.
EventHandler Fired when the collection changes.
DataGridView: Returns the DataGridView control associated with this element.
DataGridViewElementStates: Returns the user interface (UI) state of the element.
Releases all resources used by the DataGridViewElement.
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.
Public Class DataGridViewElement
Inherits IDisposable
Implements IHasPropertyStorepublic class DataGridViewElement : IDisposable, IHasPropertyStoreDisplayed
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.
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 .
Public Enum DataGridViewElementStates As [Enum]public enum DataGridViewElementStates : EnumWisej.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).
Returns the last DataGridViewColumn prior to the given column in display order that matches the includeFilter and excludeFilter .
Returns the number of rows that match the includeFilter .
Returns the cumulative height of the DataGridViewRow objects that match the includeFilter .
Returns the index of the first DataGridViewRow that matches the specified includeFilter and excludeFilter .
Returns the first DataGridViewRow that matches the specified includeFilter and excludeFilter .
Returns the index of the last DataGridViewRow that matches the includeFilter and excludeFilter .
Returns the last DataGridViewRow that matches the includeFilter and excludeFilter .
Returns the index of the next DataGridViewRow after startRow that matches the includeFilter and excludeFilter .
Returns the next DataGridViewRow after startRow that matches the includeFilter and excludeFilter .
Returns the index of the previous DataGridViewRow before startRow that matches the includeFilter and excludeFilter .
Returns the previous DataGridViewRow before startRow that matches the includeFilter and excludeFilter .
Returns the state of the DataGridViewRow at the specified index.
Returns the state of the DataGridViewRow at the specified index.
Returns the current state of the cell as inherited from the state of its row and column.
Returns a value indicating the current state of the cell as inherited from the state of its row and column.
Returns the user interface (UI) state of the element.
Returns a value indicating the current state of the cell as inherited from the state of its row or column.
Returns the state that has changed on the cell.
Returns the new column state.
Returns the state that has changed on the row.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
valueTypeConverter
A TypeConverter for the cell value type, or null to use the default converter.
Displays an editable ComboBox control in a DataGridViewCell cell when in edit mode.
Represents a DataGridView column that contains a collection of DataGridViewComboBoxCell cells.
Displays an editable DateTimePicker control in a DataGridViewCell cell when in edit mode.
Represents a DataGridView column that contains a collection of DataGridViewDateTimePickerCell cells.
Displays an image in a DataGridViewCell cell.
Represents a DataGridView column that contains a collection of DataGridViewImageCell cells.
Displays a link widget in a DataGridViewCell cell.
Represents a DataGridView column that contains a collection of DataGridViewLinkCell cells.
Displays an editable MaskedTextBox control in a DataGridViewCell cell when in edit mode.
Represents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.
Displays an editable NumericUpDown control in a DataGridViewCell cell when in edit mode.
Represents a DataGridView column that contains a collection of DataGridViewNumericUpDownCell cells.
Displays an editable TextBox control in a DataGridViewCell cell when in edit mode.
Represents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.
Represents a linear collection of elements in a DataGridView control.
Represents an individual cell in a DataGridView control.
Represents a column header in a DataGridView control.
Contains functionality common to row header cells and column header cells.
Represents a row in a DataGridView control.
Represents a row header of a DataGridView control.
Represents a summary row in a DataGridView control.
Represents a DataGridView column that contains a collection of DataGridViewComboBoxCell cells.
public class DataGridViewComboBoxColumn : DataGridViewColumnPublic Class DataGridViewComboBoxColumn
Inherits DataGridViewColumnInitializes a new instance of the DataGridViewComboBoxColumn class to the default state.
Initializes a new instance of the DataGridViewComboBoxColumn class to the default state.
cellTemplate
An existing to use as a template.
AutoCompleteMode: Returns or sets how automatic completion works for the DataGridViewComboBoxColumn.
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: Returns or sets whether the cell editor modifies the case of characters as they are typed.
Object: Returns or sets the data source that populates the selections for the combo boxes.
String: Returns or sets the name of the property or column from which to retrieve the text to display in the combo box cell.
ComboBoxStyle: Returns or sets the drop down style of the combo box.
String: Returns or sets the name of the property or column from which to get the icon to use in the drop-down list.
Boolean: Returns or sets whether items are selected incrementally as the user types within a timeout of 1 second.
ObjectCollection: Returns the collection of the items contained in this DataGridViewComboBoxColumn.
Throws:
InvalidOperationException The value of the CellTemplate property is null.
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.
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.
ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.
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.
Type: Returns or sets the data type of the values in the column's cells.
String: Returns or sets the text to show when the textbox is empty.
All wisej components implement this interface.
Allows an object to serialize itself.
Wisej.Web.DataGridViewColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents a column in a control.
Initializes a new instance of the class to the default state.
Initializes a new instance of the class using an existing as a template.
: 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 " ".
: 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.
: 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.
: Gets or sets the context menu for the column.
: Returns or sets the name of the data source property or database column to which the is bound.
: Returns or sets the column's default cell style.
: 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 .
: Returns or sets the editor component used to edit cells in this column.
: 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.
: Returns or sets whether a column will move when a user scrolls the control horizontally.
: Check if the component defines any responsive profile without forcing the creation of the collection.
: Returns or sets the that represents the column header.
: Returns or sets the image that is displayed in a column header.
: Returns or sets the theme name or URL for the image to display in the column header.
: Returns or sets the column's header style.
: Returns or sets the caption text on the column's header cell.
: Returns the sizing mode in effect for the column.
: Returns the sort mode in effect for the column.
: Gets a value indicating whether the column is bound to a data source.
: Returns true when the implementation class is DataGridViewRow.
: Returns or sets the maximum width, in pixels, of the column.
Throws:
The value is less than 0 or greater than 32000.
: Returns or sets the minimum width, in pixels, of the column.
Throws:
The value is less than 2 or greater than 32000.
: 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 .
: Returns or sets the name of the column.
: 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.
: Returns or sets whether the column is resizable.
: Returns or sets whether the column is selected.
: Returns or sets whether the column should be included in the visibility menu.
: Returns or sets the sort mode for the column.
: Returns or sets the text used for ToolTips.
: 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.
: Returns or sets the data type of the values in the column's cells.
: Returns or sets whether the column is visible.
: Returns or sets the current width of the column.
Throws:
The specified value when setting this property is greater than 65536.
Returns: . An that represents the cloned .
Resets the width to the default value.
Updates the component on the client.
Fired when the is disposed.
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
An existing DataGridViewCell to use as a template.
Represents a DataGridView column that contains a collection of DataGridViewButtonCell cells.
Represents a DataGridView column that contains a collection of DataGridViewCheckBoxCell cells.
Represents a DataGridView column that contains a collection of DataGridViewComboBoxCell cells.
Represents a DataGridView column that contains a collection of DataGridViewDateTimePickerCell cells.
Represents a DataGridView column that contains a collection of DataGridViewImageCell cells.
All wisej components implement this interface.
Allows an object to serialize itself.
Public Class DataGridViewColumn
Inherits DataGridViewBand
Implements IWisejComponent, IWisejSerializable, IComponent, IHasResponsiveProfilespublic class DataGridViewColumn : DataGridViewBand, IWisejComponent, IWisejSerializable, IComponent, IHasResponsiveProfilesWisej.Web.DataGridViewCellCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents a collection of cells in a DataGridViewRow.
Initializes a new instance of the class.
: 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.
: 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.
: 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 .
Adds a cell to the collection.
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 .
Adds an array of cells to the collection.
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 .
Adds an array of cells to the collection.
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 .
Clears all cells from the collection.
Throws:
The row that owns this already belongs to a control.
Determines whether the specified cell is contained in the collection.
Returns: . true if cell is in the collection; otherwise, false.
Copies the entire collection of cells into an array at a specified location within the array.
Returns the index of the specified cell.
Returns: . The zero-based index of the value of cell parameter, if it is found in the collection; otherwise, -1.
Inserts a cell into the collection at the specified index.
Throws:
The row that owns this already belongs to a control, or cell already belongs to a .
Removes the specified cell from the collection.
Throws:
The row that owns this already belongs to a control.
cell could not be found in the collection.
Removes the cell at the specified index.
Throws:
The row that owns this already belongs to a control.
Fired when the collection changes.
Wisej.Web.ComboBox
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
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
The DataGridViewRow that owns the collection.
cell
A DataGridViewCell to add to the collection.
cells
The array of DataGridViewCell objects to add to the collection.
cells
The array of DataGridViewCell objects to add to the collection.
cell
A DataGridViewCell to locate in the collection.
array
The destination array to which the contents will be copied.
index
The index of the element in array at which to start copying.
cell
The cell to locate in the collection.
index
The zero-based index at which to place cell .
cell
The DataGridViewCell to insert.
cell
The DataGridViewCell to remove from the collection.
index
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)public class DataGridViewCellCollection : BaseCollection, IList, IList<DataGridViewCell>, ICollection<DataGridViewCell>, IEnumerable<DataGridViewCell>Represents a combo box control.
public class ComboBox : ListControl, IModified, ILabel, IReadOnlyPublic Class ComboBox
Inherits ListControl
Implements IModified, ILabel, IReadOnlyInitializes an instance of ComboBox.
Boolean: Returns or sets a value indicating that the control can display html in the Text property.
AutoCompleteMode: Returns or sets how automatic completion works for the ComboBox.
Boolean: Returns or sets whether the height of the control is set automatically.
CharacterCasing: Returns or sets whether the ComboBox control modifies the case of characters as they are typed.
Throws:
ArgumentException The specified value is less than one.
ComboBoxStyle: Returns or sets the drop down style of the combo box.
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.
Boolean: Returns or sets whether the combo box is displaying its drop-down portion.
Boolean: Enables or disables the browser's context menu.
Boolean: Returns or sets whether items are selected incrementally as the user types within a timeout of 1 second.
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.
ObjectCollection: Returns the collection of the items contained in this ComboBox.
LabelWrapper: Provides a label related to the control.
String: Returns or sets the localizable label associated with this control.
Boolean: Returns or sets whether the items are sent to the client the first time the list is opened and enables the Load event.
Throws:
ArgumentOutOfRangeException The value is less than 0.
Boolean: Returns or sets whether the control is read-only.
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.
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.
Int32: Returns or sets the starting index of text selected in the combo box.
Throws:
ArgumentException The value is less than zero.
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.
String: Returns or sets the text associated with this control.
ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.
String: Returns or sets the text to show when the control is empty.
Not used. Kept for compatibility.
Copies the current selection in the text box to the Clipboard.
Moves the current selection in the text box to the Clipboard.
Not used. Kept for compatibility.
Returns the index of the first item in the ComboBox that starts with the specified string.
text
The to search for.
Returns: Int32. The zero-based index of the first item found; returns -1 if no match is found.
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.
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.
Finds the first item in the combo box that matches the specified string.
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.
Finds the first item after the specified index that matches the specified string.
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.
Replaces the current selection in the text box with the contents of the Clipboard.
Selects a range of text in the editable portion of the ComboBox.
start
The position of the first character in the current text selection within the text box.
length
The number of characters to select.
Selects all the text in the editable portion of the ComboBox.
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.
EventHandler Fired when the drop-down portion of a ComboBox is shown.
EventHandler Fired when the drop-down portion of the ComboBox is no longer visible.
EventHandler Fired when the DropDownStyle property has changed.
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.
EventHandler Fired when the value of the ReadOnly property has changed.
EventHandler Fired when the SelectedIndex property has changed.
EventHandler Fired when the SelectedItem property has changed.
EventHandler Fired when the selected item has changed and that change is displayed in the ComboBox.
EventHandler Fired when the Sorted property has changed.
ToolClickEventHandler Fired when a ComponentTool is clicked.
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.
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.
public class DataGridViewCell : DataGridViewElement, ICloneablePublic Class DataGridViewCell
Inherits DataGridViewElement
Implements ICloneableInt32: Returns the column index for this cell.
ContextMenu: Returns or sets the shortcut menu associated with the cell.
Control: Returns or sets a child control to display inside the cell.
DataGridView: Returns the DataGridView control associated with this DataGridViewCell.
Object: Returns the default value for a cell in the row for new records.
Boolean: Returns a value that indicates whether the cell is currently displayed.
Boolean: Returns whether the cell can be edited.
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.
String: Returns or sets the text describing an error condition associated with the cell.
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.
Type: Returns the type of the formatted value associated with the cell.
Boolean: Returns a value indicating whether the cell is frozen.
Int32: Returns the height of the cell.
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.
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.
Boolean: Returns whether this is the current cell in the DataGridView.
Boolean: Returns a value indicating whether this cell is currently being edited.
DataGridViewColumn: Returns the column that contains this cell.
DataGridViewRow: Returns the row that contains this cell.
Boolean: Returns or sets whether the cell's data can be edited.
Boolean: Returns a value indicating whether the cell can be resized.
Int32: Returns the index of the cell's parent row.
Boolean: Returns or sets whether the cell has been selected.
Size: Returns the size of the cell.
DataGridViewCellStyle: Returns or sets the style for the cell.
Object: Returns or sets the object that contains supplemental data about the cell.
String: Returns or sets the ToolTip text associated with this cell.
Object: Returns a dynamic object that can be used to store custom data in relation to this cell.
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.
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.
Type: Returns or sets the data type of the values in the cell.
Boolean: Returns a value indicating whether the cell is in a row or column that has been hidden.
Int32: Returns the width of the cell.
Creates a copy of this cell.
Returns: DataGridViewCell. The cloned DataGridViewCell.
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.
Returns a value indicating the current state of the cell as inherited from the state of its row and column.
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.
Returns the style applied to the cell.
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.
Converts a value to the actual cell value.
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.
Resets the ReadOnly state to inherit its value from the OwningColumn, OwningRowand the DataGridView.
Updates the cell on the client.
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.
this.comboBox1.AutoComplete += (s, e) =>
{
if (this.comboBox1.Text == "T")
{
this.compoBox1.SelectedIndex = 1;
e.Handled = true;
}
}
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
valueTypeConverter
A TypeConverter for the cell value type, or null to use the default converter.
Displays a link widget in a DataGridViewCell cell.
Displays an editable MaskedTextBox control in a DataGridViewCell cell when in edit mode.
Displays an editable NumericUpDown control in a DataGridViewCell cell when in edit mode.
Displays an editable TextBox control in a DataGridViewCell cell when in edit mode.
Represents a column header in a DataGridView control.
Contains functionality common to row header cells and column header cells.
Represents a row header of a DataGridView control.
Wisej.Web.DataGridViewColumnCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents a collection of DataGridViewColumn objects in a control.
Initializes a new instance of the class for the given .
: 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.
: Returns the column of the given name in the collection.
Throws:
name is null.
Adds the given to the collection.
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: - - - - - - - -
Adds a with the given column name to the collection.
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: - - - - - - - -
Adds a with the given column name and call value type to the collection.
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: - - - - - - - -
Adds a with the given column name and column header text to the collection.
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: - - - - - - - -
Adds a with the given column name, column header text, and cell value type to the collection.
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: - - - - - - - -
Adds a range of columns to the collection.
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: - - - - - - - -
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: - - - - - - - -
Clears the collection and disposes the columns.
Determines whether the collection contains the given .
Returns: . true if the given column is in the collection; otherwise, false.
Determines whether the collection contains the given .
Returns: . true if the given column is in the collection; otherwise, false.
Copies the items from the collection to the given array.
Returns the number of columns that match the includeFilter .
Returns: . The number of columns that match the filter.
Throws:
includeFilter is not a valid combination of values.
Returns the width, in pixels, required to display all of the columns that meet the includeFilter .
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.
Returns the first in display order that matches the includeFilter and excludeFilter .
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.
Returns the last in display order that matches the includeFilter and excludeFilter .
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.
Returns the first after the given column in display order that matches the includeFilter and excludeFilter .
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.
Returns the last prior to the given column in display order that matches the includeFilter and excludeFilter .
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.
Returns the index of the given in the collection.
Returns: . The index of the given .
Returns the index of the with the specified name from the collection.
Returns: . The index of the given .
Throws:
name is null.
Inserts a at the given index in the collection.
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
Removes the specified from the collection.
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:
Removes the with the specified name from the collection.
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:
Removes the at the given index in the collection.
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: - - - - - - - -
Moves the specified column to the new newIndex .
This method updates both the column's index in the column collection and the display index without firing the event.
Fired when the collection changes.
dataGrid
The DataGridView that created this collection.
column
The DataGridViewColumn to add.
name
The name by which the column will be referred.
name
The name by which the column will be referred.
valueType
The Type of the values in the cells.
name
The name by which the column will be referred.
caption
The text for the column's header.
name
The name by which the column will be referred.
caption
The text for the column's header.
valueType
The Type of the values in the cells.
newColumns
An array of DataGridViewColumn objects to add.
dispose
column
The DataGridViewColumn to look for.
name
The name of the column to look for.
array
The destination DataGridViewColumn array.
index
The index of the destination array at which to start copying.
includeFilter
A combination of the DataGridViewElementStates values for inclusion.
includeFilter
A combination of the DataGridViewElementStates values for inclusion.
includeFilter
A combination of the DataGridViewElementStates values for inclusion.
excludeFilter
A combination of the DataGridViewElementStates values for exclusion.
includeFilter
A combination of the DataGridViewElementStates values for inclusion.
excludeFilter
A combination of the DataGridViewElementStates values for exclusion.
startColumn
The column from which to start searching for the next column.
includeFilter
A combination of the DataGridViewElementStates values for inclusion.
excludeFilter
A combination of the DataGridViewElementStates values for exclusion.
startColumn
The column from which to start searching for the previous column.
includeFilter
A combination of the DataGridViewElementStates values for inclusion.
excludeFilter
A combination of the DataGridViewElementStates values for exclusion.
column
The DataGridViewColumn to return the index of.
name
The name of the column to find.
index
The zero-based index at which to insert the given column.
column
The DataGridViewColumn to insert.
column
The column to delete.
name
The name of the column to delete.
index
The index of the column to delete.
column
Column to move to the new newIndex .
newIndex
New index and display index of the column .
Public Class DataGridViewColumnCollection
Inherits BaseCollection
Implements IList, IList(Of DataGridViewColumn), ICollection(Of DataGridViewColumn), IEnumerable(Of DataGridViewColumn)public class DataGridViewColumnCollection : BaseCollection, IList, IList<DataGridViewColumn>, ICollection<DataGridViewColumn>, IEnumerable<DataGridViewColumn>Wisej.Web.DataGridView
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents a data grid control.
Initializes a new instance of the class.
: 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.
: Returns or sets whether the user can add new rows.
: Returns or sets whether the user is allowed to delete rows from the .
: Returns or sets whether manual column repositioning is enabled.
: Returns or sets whether users can resize columns.
: Returns or sets whether users can resize rows.
: 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.
: Returns or sets a value that indicates whether the control resizes based on its contents.
: Returns or sets a value indicating how column widths are determined.
: 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.
: 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.
: Returns or sets the border style for the .
: Returns or sets the cell border style for the control.
: 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.
: 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.
: Returns or sets the border style for the column headers in the control.
: Returns or sets the default column header style.
: 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.
: 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]
: 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 .
: Returns a collection that contains all the columns in the control.
: 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 .
: Returns the row and column indexes of the currently active cell.
: Returns the row containing the current cell.
: 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 .
: 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 .
: Returns or sets the default cell style to be applied to the cells in the if no other cell style properties are set.
: Returns or sets the default row height.
: Returns or sets the default for all columns when the property is set to (default).
: Returns the control hosted by the current cell, if a cell with an editing control is in edit mode.
: 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 .
: Returns the first cell currently displayed in the in the upper left corner.
: 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.
: 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.
: Returns the number of pixels by which the control is scrolled horizontally.
: 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.
: Returns a value indicating whether the current cell has uncommitted changes.
: Returns a value indicating whether the currently active cell is being edited.
: Returns a value indicating whether the current row has uncommitted changes.
: 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.
: Returns or set the cell located in the specified column and at the specified row.
: Returns or set the cell located in the specified column and at the specified row.
: Returns or set the cell located in the specified location.
: Returns or sets whether the rows are always of the same height.
: Returns or sets whether the column and row resizing should be live: updated as the user resizes the row or the column.
: Maximum number of blocks kept in the client cache.
It's better not to touch this value unless you know what you are doing.
: Returns or sets whether the user is allowed to select more than one cell, row, or column of the at a time.
: Returns the index of the row for new records.
: Returns or sets an HTML string that is displayed when the doesn't contain any row.
: 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 .
: 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 .
: 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.
: Returns the for the row headers.
Use this to set the style and other properties for all the row headers.
: Returns or sets the default style applied to the row header cells.
: 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.
: 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 .
: 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.
: 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.
: Returns a collection that contains all the rows in the control.
: 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.
: Returns or sets the type of scroll bars to display for the control.
: Returns the collection of selected cells.
: Returns the collection of selected columns.
: Returns the collection of selected rows.
: 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).
: Returns or sets a value indicating how the cells of the can be selected.
: Returns or sets whether cells will display an error glyphs for each cell that contains a data entry error.
: Returns or sets whether or not ToolTips will show when the mouse pointer pauses on a cell.
: Returns or sets whether the column visibility menu button is visible.
: Returns or sets a value indicating whether the widget highlights the currently focused cell.
: Returns or sets whether row headers will display an error glyphs for each row that contains a data entry error.
: Returns the column by which the contents are currently sorted.
: Returns or sets whether frozen rows should be sorted when sorting a column.
: Returns a value indicating whether the items in the control are sorted in ascending or descending order, or are not sorted.
: 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.
: 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.
: Returns the instance of associated with this control.
: Returns or sets the position of the items associated with this control.
: Returns the header cell located in the upper left corner of the control.
: 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.
: Returns or sets whether you have provided your own data-management operations for the control.
: Returns the total number of visible rows currently displayed.
Creates or updates a for each group limited by the values in column groupCol .
Returns: . Array of the rows displaying the aggregated values.
Creates or updates a for each group limited by the values in column groupCol .
Returns: . Array of the rows displaying the aggregated values.
Creates or updates a for each group limited by the values in the columns from groupFromCol to groupToCol .
Returns: . Array of the rows displaying the aggregated values.
Creates or updates a for each group limited by the values in the columns from groupFromCol to groupToCol .
Returns: . Array of the rows displaying the aggregated values.
Creates or updates a for each group limited by the values in columns groupCol .
Returns: . Array of the rows displaying the aggregated values.
Creates or updates a for each group limited by the values in columns groupCol .
Returns: . Array of the rows displaying the aggregated values.
Creates or updates a for each group limited by the values in the columns from groupFromCol to groupToCol .
Returns: . Array of the rows displaying the aggregated values.
Creates or updates a for each group limited by the values in the columns from groupFromCol to groupToCol .
Returns: . Array of the rows displaying the aggregated values.
Populates the from the data appending the rows to the existing rows.
Returns: . Numbers of rows appended.
Use this method to fill a without binding it to the data source.
Returns whether all the cells are currently selected.
Returns: . true if all cells (or all visible cells) are selected or if there are no cells (or no visible cells); otherwise, returns false.
Adjusts the width of the column to fit the contents of its cells including the header cell.
Throws:
columnIndex is not in the valid range of -1 (all columns) to the number of columns minus 1.
Adjusts the width of the column to fit the contents of its cells including the header cell.
Throws:
columnIndex is not in the valid range of -1 (all columns) to the number of columns minus 1.
Adjusts the width of the specified column using the specified size mode.
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.
Adjusts the width of the specified column using the specified size mode.
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.
Adjusts the height of the column headers to fit the contents of the largest header.
Adjusts the height of the column headers based on the contents of the header in the specified column.
Throws:
columnIndex is not in the valid range of -1 (all columns) to the number of columns minus 1.
Adjusts the width of all columns to fit the contents of their cells including the header cells.
Adjusts the width of all columns to fit the contents of their cells including the header cells.
Adjusts the width of all columns using the specified size mode.
Throws:
autoSizeMode has the value and is false.
autoSizeMode has the value or .
Adjusts the width of all columns using the specified size mode.
Throws:
autoSizeMode has the value and is false.
autoSizeMode has the value or .
Adjusts the height of the row to fit the contents of all its cells including the header cell.
Throws:
rowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.
Adjusts the height of the row to fit the contents of all its cells including the header cell.
Throws:
rowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.
Adjusts the height of the row using the specified size mode.
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.
Adjusts the height of the row using the specified size mode.
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.
Adjusts the width of the row headers using the specified size mode.
Throws:
autoSizeMode has the value or .
Adjusts the width of the row headers using the specified size mode.
Throws:
autoSizeMode has the value or .
Adjusts the width of the row headers based on the contents of the header in the specified row and using the specified size mode.
Throws:
rowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.
autoSizeMode has the value or
Adjusts the width of the row headers based on the contents of the header in the specified row and using the specified size mode.
Throws:
rowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.
autoSizeMode has the value or
Adjusts the heights of all rows in the client's data cache to fit the contents of all their cells, including the header cells.
Adjusts the heights of all rows in the client's data cache to fit the contents of all their cells, including the header cells.
Adjusts the heights of the rows using the specified size mode.
Throws:
autoSizeMode has the value
autoSizeMode has the value and is false.
Puts the current cell in edit mode.
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.
Prevents the control from updating until the method is called.
Cancels edit mode for the currently selected cell and discards any changes.
Returns: . true if the cancel was successful; otherwise, false.
Clears the current selection.
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.
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.
Resumes updating of the control after it was suspended by the method.
Populates the from the data .
Returns: . Numbers of rows added.
Use this method to fill a without binding it to the data source.
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 .
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 .
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 .
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 .
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 .
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 .
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 .
Returns the state of the at the specified index.
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.
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 .
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 .
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 .
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.
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 .
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 .
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 .
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 .
Returns the column index and row index that contain the specified x, y client coordinates.
Returns: . A that contains the column index and row index information.
Returns the column index and row index that contain the specified x, y client coordinates.
Returns: . A that contains the column index and row index information.
Checks if the specified cell can enter edit mode.
Returns: . true is the specified cell, the owner row, owner column and the data source, allow user editing.
Checks if the cell at the colIndex and rowIndex location can enter edit mode.
Returns: . true is the specified cell, the owner row, owner column and the data source, allow user editing.
Checks if the cell at the cellAddress location can enter edit mode.
Returns: . true is the specified cell, the owner row, owner column and the data source, allow user editing.
Checks if the specified cell is visible.
Returns: . true is the specified cell, the owner row, owner column and the data source, allow user editing.
Checks if the cell at the colIndex and rowIndex location is visible.
Returns: . true is the specified cell, the owner row, owner column and the data source, allow user editing.
Checks if the cell at the cellAddress location is visible.
Returns: . true is the specified cell, the owner row, owner column and the data source, allow user editing.
Verifies that the cell address refers to a valid cell.
Returns: . true if the coordinates correspond to a valid cell address.
Verifies that the column index and row index refer to a valid cell.
Returns: . true if the coordinates correspond to a valid cell address.
Verifies that the column index refer to a valid column.
Returns: . true if the column index corresponds to a valid column.
Verifies that the row index refer to a valid row.
Returns: . true if the row index corresponds to a valid row.
Notifies the that the current cell has uncommitted changes.
Fires the event, if is true, selects all the rows in the control.
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.
Forces a full reload of the data displayed by this .
Forces a full reload of the data displayed by this .
Removes the all the summary rows.
Removes the summary rows that match the specified summaryPosition .
Removes the summary rows grouped by groupFromCol .
Removes the summary rows grouped by groupFromCol and groupToCol .
Removes the summary rows grouped by groupFromCol .
Removes the summary rows grouped by groupFromCol and groupToCol .
Removes the summary rows that match the specified summaryPosition and grouped by groupFromCol .
Removes the summary rows that match the specified summaryPosition and grouped by groupFromCol and groupToCol .
Removes the summary rows that match the specified summaryPosition and grouped by groupFromCol and groupToCol .
Scrolls the specified cell into view.
Throws:
cell is null.
cell doesn't belong to this .
Scrolls the specified cell into view aligned according to the position specified by alignX and alignY , if possible.
Throws:
cell is null.
cell doesn't belong to this .
Scrolls the specified cell into view.
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.
Scrolls the specified cell into view aligned according to the position specified by alignX and alignY , if possible.
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.
Scrolls the specified cell into view.
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.
Scrolls the specified cell into view aligned according to the position specified by alignX and alignY , if possible.
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.
Scrolls the specified column into view.
Throws:
columnIndex is less than -1 or greater than the number of columns in the control.
Scrolls the specified column into view aligned to the left or right according to the position specified by alignX .
Throws:
columnIndex is less than -1 or greater than the number of columns in the control.
Scrolls the specified column into view.
Throws:
column is null.
column doesn't belong to this .
Scrolls the specified column into view aligned to the left or right according to position specified by alignX .
Throws:
column is null.
column doesn't belong to this .
Scrolls the specified row into view.
Throws:
rowIndex is less than -1 or greater than the number of rows in the control.
Scrolls the specified row into view aligned to the top or bottom according to the position specified by alignY .
Throws:
rowIndex is less than -1 or greater than the number of rows in the control.
Scrolls the specified row into view.
Throws:
row is null.
row doesn't belong to this .
Scrolls the specified row into view aligned to the top or bottom according to the position specified by alignY .
Throws:
row is null.
row doesn't belong to this .
Selects all the cells, or rows, or columns, according to the property when the is true.
Selects all the cells, regardless of the and properties.
Selects all the columns, regardless of the and properties.
Selects all the rows, regardless of the and properties.
Sets the currently focused cell.
Sets the currently focused cell.
Sets the state for the row at rowIndex .
Throws:
rowIndex is less than zero and greater than the number of rows in the collection.
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 .
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 .
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 .
Throws:
cellAddress is less than 0 or equal to or greater than the number of row or columns in the collection.
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 .
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 .
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 .
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 .
Sorts the contents of the control in ascending or descending order based on the contents of the specified column.
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
Sorts the contents of the control using an implementation of the interface.
Throws:
comparer is null.
is set to true; or is not null.
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.
Fired when the value of the property changes.
Fired when the value of the property changes.
Fired when the value of the property changes.
Fired when the value of the property changes.
Fired when the value of the property changes.
Fired when edit mode starts for the selected cell.
Fired when any part of a cell is clicked.
Fired when a cell's context menu is needed.
Fired when the user double-clicks anywhere in a cell.
Fired when edit mode stops for the current cell.
Fired when the current cell changes in the control or when the control receives input focus.
Fired when the value of the property of a cell changes.
Fired when a cell's error text is needed.
Fired when the contents of a cell need to be formatted for display.
Fired when a cell loses input focus and is no longer the current cell.
Occurs whenever the user clicks anywhere on a cell with the mouse.
Fired when a cell within the is double-clicked.
Fired when the user presses a mouse button while the pointer is within the boundaries of a cell.
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.
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.
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.
Fired when the user releases a mouse button while over a cell.
Fired when a cell with the property set to true needs to be drawn.
Fired when a cell leaves edit mode if the cell value has been modified.
Fired when a cell state changes, such as when the cell is selected or focused.
Fired when the property of a changes.
Fired when one of the values of a cell style changes.
Fired when a hosted in a cell editor is clicked.
Fired when the value of the property of a cell changes.
Fired when a cell's ToolTip text is needed.
Occurs after the cell has finished validating.
Fired when a cell loses input focus, enabling content validation.
Fired when the value of a cell changes.
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.
Fired when a column is added to the control.
Fired when the value the property for a column changes.
Fired when the property changes.
Fired when the user clicks a column header.
Fired when a column header is double-clicked.
Fired when the value of the property changes.
Fired when the value of the property for a column changes.
Fired when the value of the property for a column changes.
Fired when the property changes.
Fired when a column is removed from the control.
Fired when the value of the property changes.
Fired when a column changes state, such as becoming visible.
Fired when the value of the property for a column changes.
Fired when the property changes.
Occurs after a data-binding operation has finished.
Fired when a data parsing or data validation operation throws an exception, or when committing data to a data source fails.
Fired when value of the property changes.
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.
Fired when the value of the property changes.
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.
Fired when the value of the property changes.
Fired when the user enters the row for new records so that it can be populated with default values.
Fired when a control for editing a cell is showing.
Fired when the value of the property changes.
Fired when the value of the property changes.
Fired when the user tabs past the last cell.
Fired when the value of the property changes.
Fired when the value of the property changes.
Fired when the property of the is true and the user navigates to the new row at the bottom of the .
Fired when the value of the property changes.
Fired when a parent row is collapsed.
Fired when a row receives input focus but before it becomes the current row.
Fired when the property of a row changes.
Fired when the row's error text is required.
Fired when a parent row is expanded.
Fired when the user clicks within the boundaries of a row header.
Fired when a row header is double-clicked.
Fired when value of the property changes.
Fired when the value of the property for a row changes.
Fired when information about row height is requested.
Fired when a row loses input focus and is no longer the current row.
Fired when the value of the property for a row changes.
Fired when the value of the property for a row changes.
Occurs after a new row is added to the .
Fired when a row or rows are deleted from the .
Fired when a row changes state, such as getting selected.
Occurs after a row has finished validating.
Fired when a row is validating.
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.
Fired when the current selection changes.
Fired when the value of the property changes.
Fired when the compares two cell values to perform a sort operation.
Fired when the control completes a sorting operation.
Fired when the value of the property changes.
Fired when a is clicked.
Fired when the user presses a mouse button while the pointer is on the top-left corner cell.
Fired when the user has finished adding a row to the control.
Fired when the user has finished deleting a row from the control.
Fired when the user deletes a row from the control.
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.
Represents a Wisej component that is capable of handling postback requests from the client.
Allows an object to serialize itself.
summaryType
Determines the aggregation type.
groupCol
Name of the column that determines the group break values.
summaryCol
name of the column to aggregate.
summaryType
Determines the aggregation type.
summaryPosition
Indicates the position of the DataGridViewSummaryRow.
groupCol
Name of the column that determines the group break values.
summaryType
Determines the aggregation type.
groupFromCol
Name of the first column that determines the group break values.
groupToCol
Name of the last column that determines the group break values.
summaryType
Determines the aggregation type.
summaryPosition
Indicates the position of the DataGridViewSummaryRow.
groupFromCol
Name of the first column that determines the group break values.
summaryType
Determines the aggregation type.
groupCol
Column that determines the group break values.
summaryCol
Column to aggregate.
summaryType
Determines the aggregation type.
summaryPosition
Indicates the position of the DataGridViewSummaryRow.
groupCol
Column that determines the group break values.
summaryType
Determines the aggregation type.
groupFromCol
First column that determines the group break values.
groupToCol
Last column that determines the group break values.
summaryType
Determines the aggregation type.
summaryPosition
Indicates the position of the DataGridViewSummaryRow.
groupFromCol
First column that determines the group break values.
data
The object that contains data for the DataGridView to display.
dataMember
The name of the table or list in the data object for which the DataGridView should load the data.
includeInvisibleCells
true to include the rows and columns with the Visible property set to false.
columnIndex
The index of the column to resize; -1 indicates all columns.
columnIndex
The index of the column to resize; -1 indicates all columns.
extraSpace
Additional space in pixels.
columnIndex
The index of the column to resize; -1 indicates all columns.
autoSizeMode
One of the DataGridViewAutoSizeColumnMode values.
columnIndex
The index of the column to resize; -1 indicates all columns.
autoSizeMode
One of the DataGridViewAutoSizeColumnMode values.
extraSpace
Additional space in pixels.
columnIndex
The index of the column to resize; -1 indicates all columns.
extraSpace
Additional space in pixels.
autoSizeMode
One of the DataGridViewAutoSizeColumnsMode values.
autoSizeMode
One of the DataGridViewAutoSizeColumnsMode values.
extraSpace
Additional space in pixels.
rowIndex
The index of the row to resize.
rowIndex
The index of the row to resize.
extraSpace
Additional space in pixels.
rowIndex
The index of the row to resize.
autoSizeMode
One of the DataGridViewAutoSizeRowMode values.
rowIndex
The index of the row to resize.
autoSizeMode
One of the DataGridViewAutoSizeRowMode values.
extraSpace
Additional space in pixels.
autoSizeMode
One of the DataGridViewRowHeadersWidthSizeMode values.
autoSizeMode
One of the DataGridViewRowHeadersWidthSizeMode values.
extraSpace
Additional space in pixels.
rowIndex
The index of the row header with the changed content.
autoSizeMode
One of the DataGridViewRowHeadersWidthSizeMode values.
rowIndex
The index of the row header with the changed content.
autoSizeMode
One of the DataGridViewRowHeadersWidthSizeMode values.
extraSpace
Additional space in pixels.
extraSpace
Additional space in pixels.
autoSizeMode
One of the DataGridViewAutoSizeRowMode values.
selectAll
true to select all the cell's contents; false to not select any contents.
data
The object that contains data for the DataGridView to display.
dataMember
The name of the table or list in the data object for which the DataGridView should load the data.
column
The DataGridViewColumn that contains the cell.
rowIndex
The index of the row containing the cell.
columnName
The Name of the column containing the cell.
rowIndex
The index of the row containing the cell.
columnIndex
The index of the column containing the cell.
rowIndex
The index of the row containing the cell.
rowIndex
The index of the row.
columnIndex
The index of the column containing the cell.
rowIndex
The index of the row containing the cell.
cellAddress
Row and column index of the cell.
column
The DataGridViewColumn that contains the cell.
rowIndex
The index of the row containing the cell.
columnName
The Name of the column containing the cell.
rowIndex
The index of the row containing the cell.
x
The x coordinate relative to the DataGridView control.
y
The y coordinate relative to the DataGridView control.
position
The x, y coordinate relative to the DataGridView control.
cell
Cell to verify.
colIndex
The column index of the cell to verify.
rowIndex
The row index of the cell to verify.
cellAddress
Coordinates of the cell to verify.
cell
Cell to verify.
colIndex
The column index of the cell to verify.
rowIndex
The row index of the cell to verify.
cellAddress
Coordinates of the cell to verify.
cellAddress
Cell address to verify.
colIndex
The index of the column to verify.
rowIndex
The index of the row to verify.
colIndex
The index of the column to verify.
rowIndex
The index of the row to verify.
dirty
True to indicate the cell has uncommitted changes; otherwise, false.
e
A DataGridViewCellMouseEventArgs that contains the event data.
refreshChildren
True to also refresh all the children of this control.
summaryPosition
Position of the summary rows to remove.
groupFromCol
Name of the first column that determines the group break values.
groupFromCol
Name of the first column that determines the group break values.
groupToCol
Name of the last column that determines the group break values.
groupFromCol
First column that determines the group break values.
groupFromCol
First column that determines the group break values.
groupToCol
Last column that determines the group break values.
summaryPosition
Position of the summary rows to remove.
groupFromCol
Name of the first column that determines the group break values.
summaryPosition
Position of the summary rows to remove.
groupFromCol
Name of the first column that determines the group break values.
groupToCol
Name of the last column that determines the group break values.
summaryPosition
Position of the summary rows to remove.
groupFromCol
First column that determines the group break values.
groupToCol
Last column that determines the group break values.
cell
The DataGridViewCell to scroll into view.
cell
The DataGridViewCell to scroll into view.
alignX
alignY
cellAddress
The address of the cell to scroll into view.
cellAddress
The address of the cell to scroll into view.
alignX
alignY
columnIndex
The zero-based column index of the cell to scroll into view.
rowIndex
The zero-based row index of the cell to scroll into view.
columnIndex
The zero-based column index of the cell to scroll into view.
rowIndex
The zero-based row index of the cell to scroll into view.
alignX
columnIndex
The zero-based column index of the cell to scroll into view.
columnIndex
The zero-based column index of the cell to scroll into view.
alignX
column
The DataGridViewColumnto scroll into view.
column
The DataGridViewColumnto scroll into view.
alignX
rowIndex
The zero-based row index of the cell to scroll into view.
rowIndex
The zero-based row index of the cell to scroll into view.
alignY
row
The DataGridViewRowto scroll into view.
row
The DataGridViewRowto scroll into view.
alignY
cellAddress
Address of the cell.
columnIndex
Column index of the cell.
rowIndex
Row index of the cell.
rowIndex
The index of the row.
state
DataGridViewElementStates state to set.
columnIndex
The index of the column containing the cell.
rowIndex
The index of the row containing the cell.
value
Value to store in the cell identified by columnIndex and rowIndex .
cellAddress
Row and column index of the cell.
value
Value to store in the cell identified by cellAddress .
columnName
The Name of the column containing the cell.
rowIndex
The index of the row containing the cell.
value
Value to store in the cell identified by columnName and rowIndex .
column
The DataGridViewColumn that contains the cell.
rowIndex
The index of the row containing the cell.
value
Value to store in the cell identified by column and rowIndex .
column
The column by which to sort the contents of the DataGridView.
direction
One of the ListSortDirection values.
comparer
An implementation of IComparer that performs the custom sorting operation.
Bindable components implement this interface.
Provides access to the ReadOnly property for coontrols that support the read-only mode.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
All wisej data stores implement this interface.
Public Class DataGridView
Inherits Control
Implements ISupportInitialize, IWisejDataStore, IWisejHandler, IReadOnlypublic class DataGridView : Control, ISupportInitialize, IWisejDataStore, IWisejHandler, IReadOnlystyle
summaryCol
summaryCol
groupToCol
style
summaryCol
summaryCol
groupToCol
alignY