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.DataGridViewCellCancelEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that will handle the CellBeginEdit and RowValidating events of a DataGridView.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
sender
The source of the event.
e
A DataGridViewCellCancelEventArgs 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.
Wisej.Web.DataGridView CustomSummary
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a Custom summary function.
Name | Type | Description |
---|---|---|
Wisej.Web.DataGridView HitTestInfo
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data about the pointer position in the control.
: 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.
group
summaryColumn
Represents a collection of cells in a . |
Represents a collection of objects that are childre of another . |
Represents a collection of objects in a control. |
Represents a collection of cells that are selected in a . |
Represents a collection of objects that are selected in a . |
Represents a collection of objects that are selected in a . |
Wisej.Web.DataGridView HitTestType
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Specifies the location in a DataGridView control returned by the method HitTest.
Name | Description |
---|---|
Name | Description |
---|---|
Cell
A cell in the DataGridView.
ColumnHeader
A column header in the DataGridView.
None
An empty location in the DataGridView.
RowHeader
A row header in the DataGridView.
TopLeftHeader
The top left corner cell in the DataGridView.
Returns the HitTestType that indicates which part of the DataGridView includes the specified coordinates.
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
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 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 MinimumWidth property values. Relative column widths are determined by the relative FillWeight property values.
None
The column width does not automatically adjust.
NotSet
The sizing behavior of the column is inherited from the AutoSizeColumnsMode property.
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.
Wisej.Web.DataGridViewBindingCompleteEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the DataBindingComplete event.
Initializes a new instance of the DataGridViewBindingCompleteEventArgs class.
Name | Type | Description |
---|---|---|
ListChangedType: Returns a value specifying how the list changed.
Name | Description |
---|---|
Wisej.Web.DataGridViewBand
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a linear collection of elements in a control.
: Returns or sets the shortcut menu for the row or the column object. (Default: null
)
: Returns or sets the default cell style of the band.
: Returns or sets the run-time type of the default header cell.
Throws:
Throws:
Creates an exact copy of this band.
The specified value when setting this property is not a representing or a derived type.
: Returns a value indicating whether the band is currently displayed on screen.
: Returns or sets whether the band will move when a user scrolls through the . (Default: False
)
: Returns a value indicating whether the property has been set.
: Checks if the dynamic object was created and has any value.
: Returns the relative position of the band within the control.
: Returns the cell style in effect for the current band, taking into account style inheritance.
: Returns true when the implementation class is DataGridViewRow.
: Returns or sets whether the user can edit the band's cells. (Default: False
)
: Returns or sets whether the band can be resized in the user interface (UI).
: Returns or sets whether the band is in a selected user interface (UI) state.
: Returns or sets the object that contains data to associate with the band.
: Returns a dynamic object that can be used to store custom data in relation to this band.
: Returns or sets whether the band is visible to the user. (Default: True
)
The specified value when setting this property is false and the band is the row for new records.
Returns: . An that represents the cloned .
Name | Description |
---|
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.
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.
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
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.
Returns or sets a value indicating how column widths are determined.
Adjusts the width of all columns using the specified size mode.
listChangedType
One of the ListChangedType values.
Represents the method that will handle the DataBindingComplete event of a DataGridView.
Wisej.Web.DataGridViewButtonColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a DataGridView column that contains a collection of DataGridViewButtonCell cells.
Initializes a new instance of the DataGridViewButtonColumn class to the default state.
Initializes a new instance of the DataGridViewButtonColumn class to the default state.
Name | Type | Description |
---|---|---|
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 DataGridViewButtonCell.
String: Gets or sets the default text displayed on the button cell when UseColumnTextForButtonValue is true. (Default: ""
)
Throws:
InvalidOperationException When setting this property, the value of the CellTemplate property is null.
Boolean: 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. (Default: False
)
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.
Wisej.Web.DataGridViewBindingCompleteEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that will handle the DataBindingComplete event of a DataGridView.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.DataGridViewButtonCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Displays a button widget in a DataGridViewCell cell.
Boolean: 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. (Default: False
)
Type: Returns or sets the data type of the values in the cell.
Wisej.Web.DataGridViewCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents an individual cell in a control.
: Returns the column index for this cell.
: Returns or sets the implementation to invoke. (Default: null
)
Throws:
Throws:
Throws:
Throws:
Throws:
Creates a copy of this cell.
Returns the current, formatted value of the cell, regardless the cell being in edit mode.
Throws:
Returns a value indicating the current state of the cell as inherited from the state of its row and column.
Returns the style applied to the cell.
Throws:
Converts a value to the actual cell value.
Throws:
Indicates whether the cell data should be updated on the client even if the user didn't change the value when editing. Since 3.2.5
Used to allow the server to update the cell after editing mode is terminated and the user didn't change anything. For example, a password cell can be obfuscated, or a custom cell may need to always format the rendered value when terminating edit mode.
Updates the cell on the client.
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.
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.
Represents a column that contains a collection of cells.
Represents a row in a control.
Represents a summary row in a control.
Name | Description |
---|---|
Name | Description |
---|---|
: Returns or sets the shortcut menu associated with the cell. (Default: null
)
: Returns or sets a child control to display inside the cell.
: Returns the control associated with this .
: Returns the default value for a cell in the row for new records.
: Returns a value that indicates whether the cell is currently displayed.
: Returns whether the cell can be edited.
: Returns the current, formatted value of the cell, regardless of whether the cell is in edit mode and the value has not been committed.
The row containing the cell is a shared row; or the cell is a column header cell.
is less than 0, indicating that the cell is a row header cell.
Formatting failed and either there is no handler for the event of the control or the handler set the property to true. The exception object can typically be cast to type .
: Returns or sets the text describing an error condition associated with the cell.
: Returns the value of the cell as formatted for display.
is less than 0, indicating that the cell is a row header cell.
The row containing the cell is a shared row; or the cell is a column header cell.
Formatting failed and either there is no handler for the event of the control or the handler set the property to true. The exception object can typically be cast to type .
: Returns the type of the formatted value associated with the cell.
: Returns a value indicating whether the cell is frozen.
: Returns true it the property has been set.
: Checks if the dynamic object was created and has any value.
: Returns the height of the cell.
: Returns the current state of the cell as inherited from the state of its row and column.
The cell is not contained within a control and the value of its property is not -1.
The cell is contained within a control and the value of its property is -1.
: Returns the style currently applied to the cell.
The cell does not belong to a control; or is less than 0, indicating that the cell is a row header cell.
The row containing the cell is a shared row; or the cell is a column header cell.
: Returns whether this is the current cell in the .
: Returns a value indicating whether this cell is currently being edited.
: Returns the column that contains this cell.
: Returns the row that contains this cell.
: Returns or sets whether the cell's data can be edited.
: Returns a value indicating whether the cell can be resized.
: Returns the index of the cell's parent row.
: Returns or sets whether the cell has been selected.
: Returns the size of the cell.
: Returns or sets the style for the cell.
: Returns or sets the object that contains supplemental data about the cell. (Default: null
)
: Returns or sets the ToolTip text associated with this cell.
: Returns a dynamic object that can be used to store custom data in relation to this cell.
: Enables or disables the user paint feature for this cell. When UserPaint is true, the application can handle the event to draw custom content in the cell. (Default: False
)
: Returns or sets the value associated with this cell.
is outside the valid range of 0 to the number of rows in the control minus 1.
is less than 0, indicating that the cell is a row header cell.
: Returns or sets the data type of the values in the cell.
: Returns a value indicating whether the cell is in a row or column that has been hidden.
: Returns the width of the cell.
Returns: . The cloned .
Returns: . The current, formatted value of the .
Formatting failed and either there is no handler for the event of the control or the handler set the property to true. The exception object can typically be cast to type .
Returns the inherited for the current cell.
Returns: . A instance if the , or the owner , or the owner , or the owner has a assigned; otherwise, null.
Returns: . A combination of values representing the current state of the cell.
Parameter | Type | Description |
---|
Returns: . A that includes the style settings of the cell inherited from the cell's parent row, column, and .
The cell has no associated .
Parameter | Type | Description |
---|
Returns: . The cell value.
cellStyle is null.
The property value is null or the property value is null or value cannot be converted.
value is null or the type of value does not match the type indicated by the property.
Resets the state to inherit its value from the , and the .
Returns: . true to force the cell to update the client.
Name | Description |
---|
Name | Description |
---|
All wisej components implement this interface.
Allows an object to serialize itself.
sender
The source of the event.
e
A DataGridViewBindingCompleteEventArgs that contains the event data.
Occurs after a data-binding operation has finished.
Defines an object that can invoke a Command.
includeVisualProperties | true to include inherited visual properties; otherwise, false to include only formatting properties. |
value | The display value of the cell. |
cellStyle |
formattedTypeConverter |
valueTypeConverter |
Contains functionality common to row header cells and column header cells. |
cellTemplate
An existing DataGridViewButtonCell to use as a template.
Both | 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. |
Wisej.Web.DataGridViewCellCancelEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the CellBeginEdit and RowValidating events.
Initializes a new instance of the DataGridViewCellCancelEventArgs class.
Name | Type | Description |
---|---|---|
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.
Wisej.Web.DataGridViewCellCommandEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that will handle the CellCommandNeeded event of a DataGridView.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.DataGridViewCellCommandEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the CellCommandNeeded event of the DataGridView control.
Initializes a new instance of the DataGridViewCellValueEventArgs class.
Name | Type | Description |
---|---|---|
Throws:
ArgumentOutOfRangeException columnIndex is less than 0; or rowIndex is less than 0.
Int32: Returns a value indicating the column index of the cell that the event occurs for.
ICommand: Returns or sets the command of the cell that the event occurs for.
Int32: Returns a value indicating the row index of the cell that the event occurs for.
Wisej.Web.DataGridViewCellContextMenuNeededEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the CellContextMenuNeeded event.
Initializes a new instance of the DataGridViewCellContextMenuNeededEventArgs class.
Name | Type | Description |
---|---|---|
Initializes a new instance of the DataGridViewCellContextMenuNeededEventArgs class.
Name | Type | Description |
---|---|---|
ContextMenu: Returns or sets the context menu for the cell that raised the CellContextMenuNeeded event.
Wisej.Web.DataGridViewCellCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a collection of cells in a DataGridViewRow.
Initializes a new instance of the DataGridViewCellCollection class.
Name | Type | Description |
---|---|---|
DataGridViewCell: Returns or sets the cell contained in the specified column .
Throws:
ArgumentNullException The specified value when setting this property is null; or column is null.
InvalidOperationException The specified cell when setting this property already belongs to a DataGridView control, or the specified cell when setting this property already belongs to a DataGridViewRow
ArgumentNullException column is null.
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.
DataGridViewCell: Returns or sets the cell at the provided index location.
Throws:
ArgumentNullException The specified value when setting this property is null.
InvalidOperationException The specified cell when setting this property already belongs to a DataGridView control, or the specified cell when setting this property already belongs to a DataGridViewRow.
ArgumentOutOfRangeException index is less than 0 or index is equal to or greater than the number of cells in the collection.
DataGridViewCell: Returns or sets the cell in the column with the provided name.
Throws:
ArgumentException columnName does not match the name of any columns in the control.
ArgumentNullException The specified value when setting this property is null; or columnName is null.
InvalidOperationException The specified cell when setting this property already belongs to a DataGridView control, or the specified cell when setting this property already belongs to a DataGridViewRow.
Adds a cell to the collection.
Returns: Int32. The position in which to insert the new element.
Throws:
InvalidOperationException The row that owns this DataGridViewCellCollection already belongs to a DataGridView control, or cell already belongs to a DataGridViewRow.
Adds an array of cells to the collection.
Throws:
ArgumentNullException cells is null.
InvalidOperationException The row that owns this DataGridViewCellCollection already belongs to a DataGridView control, or at least one value in cells is null, or at least one cell in cells already belongs to a DataGridViewRow, or at least two values in cells are references to the same DataGridViewCell.
Adds an array of cells to the collection.
Throws:
ArgumentNullException cells is null.
InvalidOperationException The row that owns this DataGridViewCellCollection already belongs to a DataGridView control, or at least one value in cells is null, or at least one cell in cells already belongs to a DataGridViewRow, or at least two values in cells are references to the same DataGridViewCell.
Clears all cells from the collection.
Throws:
InvalidOperationException The row that owns this DataGridViewCellCollection already belongs to a DataGridView control.
Determines whether the specified cell is contained in the collection.
Returns: Boolean. 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: Int32. 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:
InvalidOperationException The row that owns this DataGridViewCellCollection already belongs to a DataGridView control, or cell already belongs to a DataGridViewRow.
Removes the specified cell from the collection.
Throws:
InvalidOperationException The row that owns this DataGridViewCellCollection already belongs to a DataGridView control.
ArgumentException cell could not be found in the collection.
Removes the cell at the specified index.
Throws:
InvalidOperationException The row that owns this DataGridViewCellCollection already belongs to a DataGridView control.
CollectionChangeEventHandler Fired when the collection changes.
Wisej.Web.DataGridViewCellErrorTextNeededEventArgs
Wisej.Web.DataGridViewCellEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for events related to cell and row operations.
Initializes a new instance of the class.
Name | Type | Description |
---|
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.
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.
The in effect for the cell.
A for the display value type, or null to use the default converter.
A for the cell value type, or null to use the default converter.
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.
Displays a link widget 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 editable control in a cell when in edit mode.
Represents a column header in a control.
Represents a row header of a control.
Defines an object that can invoke a .
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
: Returns the location of the mouse or pointer event.
: Returns the internal role assigned to the element that generated the pointer event: checkbox, button, ...
: 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.
Name | Description |
---|
Represents the method that will handle the CellBeginEdit and RowValidating events of a DataGridView.
sender
The source of the event.
e
A DataGridViewCellCommandEventArgs that contains the event data.
Fired when the VirtualMode property of the DataGridView control is true and the DataGridView requires a command for a cell in order to execute a user action.
Fired when the VirtualMode property of the DataGridView control is true and a cell command has changed and requires storage in the underlying data source.
Represents the method that will handle the CellCommandNeeded event of a DataGridView.
Represents the method that will handle a CellContextMenuStripNeeded event of a DataGridView.
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.
sender | The source of the event. |
e |
Fired when the value of a cell changes. |
Fired when the command of a cell changes. |
Fired when edit mode stops for the current cell. |
Fired when a cell loses input focus and is no longer the current cell. |
Occurs after the cell has finished validating. |
Fired when a row receives input focus but before it becomes the current row. |
Fired when a row loses input focus and is no longer the current row. |
Occurs after a row has finished validating. |
Fired when any part of a cell is clicked. |
Fired when the user double-clicks anywhere in a cell. |
Fired when the mouse pointer enters a cell. |
Fired when the mouse pointer leaves a cell. |
Fired when the user tabs past the last cell. |
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.
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.
command
The current command or null.
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.
y
The y-coordinate of the pointer relative to the cell.
row
The DataGridViewRow that owns the collection.
sender | The source of the event. |
e | A that contains the event data. |
Fired when a cell's context menu is needed. |
Represents the method that will handle the event of a . |
sender | The source of the event. |
e | A that contains the event data. |
Fired when a cell's error text is needed. |
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. |
Wisej.Web.DataGridView
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a data grid control.
Initializes a new instance of the DataGridView class.
Boolean: Returns or sets whether the DataGridView can automatically sort rows in the DataSource when the data is in an IList object. (Default: True
)
When the DataGridView is data-bound, sorting is delegated to the DataSource when it supports sorting (see SupportsSorting). Otherwise, if the data is in an IList object and AllowSortingDataSource 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 AllowSortingDataSource to false reverts to the same behavior as in WinForms.
Boolean: Returns or sets whether the user can add new rows. (Default: False
)
Boolean: Returns or sets whether the user is allowed to delete rows from the DataGridView. (Default: False
)
Boolean: Returns or sets whether manual column repositioning is enabled. (Default: False
)
Boolean: Returns or sets whether users can resize columns. (Default: True
)
Boolean: Returns or sets whether users can resize rows. (Default: True
)
Boolean: Returns or sets whether columns are created automatically when the DataSource or DataMember properties are set. This property is ignored in design mode - auto column generation is always on. (Default: True
)
Boolean: Returns or sets a value that indicates whether the control resizes based on its contents. (Default: False
)
DataGridViewAutoSizeColumnsMode: Returns or sets a value indicating how column widths are determined. (Default: None
)
DataGridViewAutoSizeRowsMode: Returns or sets a value indicating how row heights are determined. (Default: None
)
Throws:
InvalidOperationException The specified value when setting this property is RowHeader and row headers are hidden.
Int32: Number of rows stored in a cache block. Determines the number of rows requested by the client when scrolling the grid.
It's better not to touch this value unless you know what you are doing.
BorderStyle: Returns or sets the border style for the DataGridView. (Default: Solid
)
DataGridViewCellBorderStyle: Returns or sets the cell border style for the DataGridView control. (Default: Both
)
DataGridViewClipboardCopyMode: Returns or sets a value that indicates whether users can copy cell text values to the Clipboard and whether row and column header text is included. (Default: EnableWithAutoHeaderText
)
Int32: Returns or sets the number of columns displayed in the DataGridView. (Default: 0
)
Throws:
ArgumentOutOfRangeException The specified value when setting this property is less than 0.
InvalidOperationException When setting this property, the DataSource property has been set.
DataGridViewCellBorderStyle: Returns or sets the border style for the column headers in the DataGridView control. (Default: Both
)
DataGridViewCellStyle: Returns or sets the default column header style.
Int32: Returns or sets the height, in pixels, of the column headers row.
Throws:
ArgumentOutOfRangeException 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.
DataGridViewColumnHeadersHeightSizeMode: 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 (Default: DisableResizing
)
Boolean: Returns or sets whether the column header row is displayed. (Default: True
)
Throws:
InvalidOperationException The specified value when setting this property is false and one or more columns have an InheritedAutoSizeMode property value of ColumnHeader.
DataGridViewColumnCollection: Returns a collection that contains all the columns in the control.
DataGridViewCell: Returns or sets the currently active cell.
Throws:
InvalidOperationException 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 DataGridView is bound to a DataSource. Re-entrant calling results from a change to the underlying data.
ArgumentException The specified cell when setting this property is not in the DataGridView.
Point: Returns the row and column indexes of the currently active cell.
DataGridViewRow: Returns the row containing the current cell.
String: Returns or sets the name of the list or table in the data source for which the DataGridView is displaying data. (Default: ""
)
Throws:
Exception An error occurred in the data source and either there is no handler for the DataError event or the handler has set the ThrowException property to true. The exception object can typically be cast to type FormatException.
Object: Returns or sets the data source that the DataGridView is displaying data for. (Default: null
)
Throws:
Exception An error occurred in the data source and either there is no handler for the DataError event or the handler has set the ThrowException property to true. The exception object can typically be cast to type FormatException.
DataGridViewCellStyle: Returns or sets the default cell style to be applied to the cells in the DataGridView if no other cell style properties are set.
Int32: Returns or sets the default row height.
DataGridViewColumnsSortMode: Returns or sets the default SortMode for all columns when the property SortMode is set to NotSet (default). (Default: Automatic
)
Control: Returns the control hosted by the current cell, if a cell with an editing control is in edit mode.
DataGridViewEditMode: Returns or sets a value indicating how to begin editing a cell. (Default: EditOnKeystrokeOrF2
)
Throws:
Exception 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 DataError event or the handler has set the ThrowException property to true. The exception object can typically be cast to type FormatException.
DataGridViewCell: Returns the first cell currently displayed in the DataGridView in the upper left corner.
Int32: Returns the index of the column that is the first non-frozen column displayed on the DataGridView.
Throws:
ArgumentOutOfRangeException The specified value when setting this property is less than 0 or greater than the number of columns in the control minus 1.
InvalidOperationException The specified value when setting this property indicates a column with a Visible property value of false. Or the specified value when setting this property indicates a column with a Frozen property value of true.
Int32: Returns the index of the row that is the first row displayed on the DataGridView.
Throws:
ArgumentOutOfRangeException The specified value when setting this property is less than 0 or greater than the number of rows in the control minus 1.
InvalidOperationException The specified value when setting this property indicates a row with a Visible property value of false. Or the specified value when setting this property indicates a column with a Frozen property value of true.
Int32: Returns the number of pixels by which the control is scrolled horizontally.
Boolean: Returns whether the horizontal scroll bar is visible.
Int32: Returns or sets the distance in pixels to indent each child row node level. (Default: -1
)
Throws:
ArgumentOutOfRangeException The assigned value is less than 0 (see Remarks); or the assigned value is greater than 500.
Boolean: Returns a value indicating whether the current cell has uncommitted changes.
Boolean: Returns a value indicating whether the currently active cell is being edited.
Boolean: Returns a value indicating whether the current row has uncommitted changes.
DataGridViewCell: Returns or set the cell located in the specified column and at the specified row.
Throws:
ArgumentOutOfRangeException 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.
DataGridViewCell: Returns or set the cell located in the specified column and at the specified row.
DataGridViewCell: Returns or set the cell located in the specified column and at the specified row.
DataGridViewCell: Returns or set the cell located in the specified location.
Boolean: Returns or sets whether the rows are always of the same height. (Default: False
)
Boolean: Returns or sets whether the column and row resizing should be live: updated as the user resizes the row or the column. (Default: False
)
Int32: Maximum number of blocks kept in the client cache.
It's better not to touch this value unless you know what you are doing.
Boolean: Returns or sets whether the user is allowed to select more than one cell, row, or column of the DataGridView at a time. (Default: True
)
Int32: Returns the index of the row for new records.
String: Returns or sets an HTML string that is displayed when the DataGridView doesn't contain any row. (Default: ""
)
Boolean: Returns or sets whether the user can edit the cells of the DataGridView control. (Default: False
)
Throws:
InvalidOperationException 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.
Exception 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 DataError event or the handler has set the ThrowException property to true. The exception object can typically be cast to type FormatException.
Boolean: Returns or sets whether the row under the pointer gets selected on a right click. (Default: False
)
When the right click lands outside of a selected area the selection is not changed regardless of the value of RightClickSelection.
Int32: Returns or sets the number of rows displayed in the DataGridView. (Default: 0
)
Throws:
ArgumentException The specified value when setting this property is less than 0 or less than 1 and AllowUserToAddRows is set to true.
InvalidOperationException When setting this property, the DataSource property is set.
DataGridViewColumn: Returns the DataGridViewColumn for the row headers.
Use this DataGridViewColumn to set the style and other properties for all the row headers.
DataGridViewCellStyle: Returns or sets the default style applied to the row header cells.
Int32: Returns or sets the minimum width, in pixels, of the column that contains the row headers.
Throws:
ArgumentOutOfRangeException The value is less than the minimum width of 2 pixels or is greater than the maximum width of 32000 pixels.
Int32: Returns or sets the minimum width, in pixels, of the column that contains the row headers.
Throws:
ArgumentOutOfRangeException The value is less than the minimum width of 2 pixels or is greater than the maximum width of 2000 pixels.
Boolean: Returns or sets whether the column that contains row headers is displayed. (Default: True
)
Int32: Returns or sets the width, in pixels, of the column that contains the row headers.
Throws:
ArgumentOutOfRangeException The value is less than the minimum width of 2 pixels or is greater than the maximum width of 2000 pixels.
DataGridViewRowHeadersWidthSizeMode: 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. (Default: EnableResizing
)
DataGridViewRowCollection: Returns a collection that contains all the rows in the DataGridView control.
DataGridViewRow: Returns or sets the row that represents the template for all the rows in the control.
Throws:
InvalidOperationException The specified row when setting this property has its DataGridView property set.
ScrollBars: Returns or sets the type of scroll bars to display for the DataGridView control. (Default: Both
)
DataGridViewSelectedCellCollection: Returns the collection of selected cells.
DataGridViewSelectedColumnCollection: Returns the collection of selected columns.
DataGridViewSelectedRowCollection: Returns the collection of selected rows.
Int32: Milliseconds to wait before sending selection events to the server. (Default: 150
)
Use this property to avoid flooding the server with selection change events when users quickly select rows in a data-bound DataGridView that triggers other data-bounds controls to get updated. Throws:
ArgumentOutOfRangeException When the value is less than 0 or greater than 10000 (10 seconds).
DataGridViewSelectionMode: Returns or sets a value indicating how the cells of the DataGridView can be selected. (Default: FullRowSelect
)
Boolean: Returns or sets whether cells will display an error glyphs for each cell that contains a data entry error. (Default: True
)
Boolean: Returns or sets whether or not ToolTips will show when the mouse pointer pauses on a cell. (Default: True
)
Boolean: Returns or sets whether the column visibility menu button is visible. (Default: True
)
Boolean: Returns or sets a value indicating whether the DataGridView widget highlights the currently focused cell. (Default: True
)
Boolean: Returns or sets whether row headers will display an error glyphs for each row that contains a data entry error. (Default: True
)
DataGridViewColumn: Returns the column by which the DataGridView contents are currently sorted.
Boolean: Returns or sets whether frozen rows should be sorted when sorting a column. (Default: True
)
SortOrder: Returns a value indicating whether the items in the DataGridView control are sorted in ascending or descending order, or are not sorted.
DataGridViewSortSelectionMode: Returns or sets a value indicating how the DataGridView updates the selection of rows and cells when it's sorted. (Default: UpdatePosition
)
The selection is always cleared when sorting a data-bound DataGridView or when the grid contains hierarchical rows.
Boolean: 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. (Default: False
)
ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.
Position: Returns or sets the position of the ComponentTool items associated with this control. (Default: Top
)
DataGridViewColumnHeaderCell: Returns or sets the header cell located in the upper left corner of the DataGridView control.
DataGridViewColumn: 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.
Boolean: Returns or sets whether you have provided your own data-management operations for the DataGridView control. (Default: False
)
Int32: Returns the total number of visible rows currently displayed.
Boolean: Returns whether the vertical scroll bar is visible.
Creates or updates a DataGridViewSummaryRow for each group limited by the values in column groupCol .
Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.
Creates or updates a DataGridViewSummaryRow for each group limited by the values in column groupCol .
Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.
Creates or updates a DataGridViewSummaryRow for each group limited by the values in the columns from groupFromCol to groupToCol .
Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.
Creates or updates a DataGridViewSummaryRow for each group limited by the values in the columns from groupFromCol to groupToCol .
Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.
Creates or updates a DataGridViewSummaryRow for each group limited by the values in columns groupCol .
Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.
Creates or updates a DataGridViewSummaryRow for each group limited by the values in columns groupCol .
Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.
Creates or updates a DataGridViewSummaryRow for each group limited by the values in the columns from groupFromCol to groupToCol .
Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.
Creates or updates a DataGridViewSummaryRow for each group limited by the values in the columns from groupFromCol to groupToCol .
Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.
Populates the DataGridView from the data appending the rows to the existing rows.
Returns: Int32. Numbers of rows appended.
Use this method to fill a DataGridView without binding it to the data source.
Returns whether all the cells are currently selected.
Returns: Boolean. 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:
ArgumentOutOfRangeException 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:
ArgumentOutOfRangeException 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:
InvalidOperationException autoSizeMode has the value ColumnHeader and ColumnHeadersVisible is false.
ArgumentException autoSizeMode has the value NotSet, DoubleClick, or Fill.
ArgumentOutOfRangeException 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:
InvalidOperationException autoSizeMode has the value ColumnHeader and ColumnHeadersVisible is false.
ArgumentException autoSizeMode has the value NotSet, DoubleClick, or Fill.
ArgumentOutOfRangeException 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:
ArgumentOutOfRangeException 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:
InvalidOperationException autoSizeMode has the value ColumnHeader and ColumnHeadersVisible is false.
ArgumentException autoSizeMode has the value DoubleClick or Fill.
Adjusts the width of all columns using the specified size mode.
Throws:
InvalidOperationException autoSizeMode has the value ColumnHeader and ColumnHeadersVisible is false.
ArgumentException autoSizeMode has the value DoubleClick or Fill.
Adjusts the height of the row to fit the contents of all its cells including the header cell.
Throws:
ArgumentOutOfRangeException 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:
ArgumentOutOfRangeException 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:
InvalidOperationException autoSizeMode has the value RowHeader and RowHeadersVisible is false.
ArgumentOutOfRangeException 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:
InvalidOperationException autoSizeMode has the value RowHeader and RowHeadersVisible is false.
ArgumentOutOfRangeException 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:
ArgumentException autoSizeMode has the value EnableResizing or DisableResizing.
Adjusts the width of the row headers using the specified size mode.
Throws:
ArgumentException autoSizeMode has the value EnableResizing or DisableResizing.
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:
ArgumentOutOfRangeException rowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.
ArgumentException autoSizeMode has the value EnableResizing or DisableResizing
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:
ArgumentOutOfRangeException rowIndex is not in the valid range of -1 (all rows) to the number of rows minus 1.
ArgumentException autoSizeMode has the value EnableResizing or DisableResizing
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:
ArgumentException autoSizeMode has the value DoubleClick
InvalidOperationException autoSizeMode has the value RowHeader and RowHeadersVisible is false.
Puts the current cell in edit mode.
Returns: Boolean. true if the current cell is already in edit mode or successfully enters edit mode; otherwise, false.
Throws:
InvalidOperationException CurrentCell is not set to a valid cell.
Prevents the control from updating until the EndUpdate method is called.
Cancels edit mode for the currently selected cell and discards any changes.
Returns: Boolean. true if the cancel was successful; otherwise, false.
Clears the current selection.
Commits changes to cell without ending edit mode.
Returns: Boolean. true if the changes were committed; otherwise false.
Throws:
Exception The cell value could not be committed and either there is no handler for the DataError event or the handler has set the ThrowException property to true.
Commits and ends the edit operation on the current cell.
Returns: Boolean. true if the edit operation is committed and ended; otherwise, false.
Throws:
Exception The cell value could not be committed and either there is no handler for the DataError event or the handler has set the ThrowException property to true.
Resumes updating of the control after it was suspended by the BeginUpdate method.
Populates the DataGridView from the data .
Returns: Int32. Numbers of rows added.
Use this method to fill a DataGridView without binding it to the data source.
Returns the formatted values that represent the contents of the selected cells for copying to the Clipboard.
Returns: DataObject. A DataObject with the contents of the selected cells.
Throws:
NotSupportedException ClipboardCopyMode is set to Disable.
Retrieves the command for the specified cell without retrieving a DataGridViewRow 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 VirtualMode.
Returns: ICommand. The object value stored in the cell.
Throws:
ArgumentOutOfRangeException columnIndex is less than 0 or columnIndex is equal to or greater than the number of cells in the collection.
ArgumentOutOfRangeException rowIndex is less than 0.- or - rowIndex is equal to or greater than Count.
Retrieves the command for the specified cell without retrieving a DataGridViewRow 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 VirtualMode.
Returns: ICommand. The object value stored in the cell.
Throws:
ArgumentOutOfRangeException cellAddress is less than 0 or equal to or greater than the number of row or columns in the collection.
Retrieves the command for the specified cell without retrieving a DataGridViewRow 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 VirtualMode.
Returns: ICommand. The object value stored in the cell.
Throws:
ArgumentNullException column is null.
ArgumentException The specified column does not belong to the same DataGridView that owns the cells.
ArgumentOutOfRangeException rowIndex is less than 0.- or - rowIndex is equal to or greater than Count.
Retrieves the command for the specified cell without retrieving a DataGridViewRow 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 VirtualMode.
Returns: ICommand. The object value stored in the cell.
Throws:
ArgumentException columnName does not match the name of any columns in the control.
ArgumentOutOfRangeException rowIndex is less than 0.- or - rowIndex is equal to or greater than Count.
Retrieves the value for the specified cell, as formatted for display, without retrieving a DataGridViewRow 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 VirtualMode.
Returns: Object. The formatted value stored in the cell.
Throws:
ArgumentOutOfRangeException columnIndex is less than 0 or columnIndex is equal to or greater than the number of cells in the collection.
ArgumentOutOfRangeException rowIndex is less than 0.- or - rowIndex is equal to or greater than Count.
Retrieves the value for the specified cell, as formatted for display, without retrieving a DataGridViewRow 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 VirtualMode.
Returns: Object. The formatted value stored in the cell.
Throws:
ArgumentNullException column is null.
ArgumentException The specified column does not belong to the same DataGridView that owns the cells.
ArgumentOutOfRangeException rowIndex is less than 0.- or - rowIndex is equal to or greater than Count.
Retrieves the value for the specified cell, as formatted for display, without retrieving a DataGridViewRow 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 VirtualMode.
Returns: Object. The formatted value stored in the cell.
Throws:
ArgumentException columnName does not match the name of any columns in the control.
ArgumentOutOfRangeException rowIndex is less than 0.- or - rowIndex is equal to or greater than Count.
Returns the state of the DataGridViewRow at the specified index.
Returns: DataGridViewElementStates. A combination of DataGridViewElementStates values indicating the state of the row.
Throws:
ArgumentOutOfRangeException 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 DataGridViewRow 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 VirtualMode.
Returns: Object. The object value stored in the cell.
Throws:
ArgumentOutOfRangeException columnIndex is less than 0 or columnIndex is equal to or greater than the number of cells in the collection.
ArgumentOutOfRangeException rowIndex is less than 0.- or - rowIndex is equal to or greater than Count.
Retrieves the value for the specified cell without retrieving a DataGridViewRow 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 VirtualMode.
Returns: Object. The object value stored in the cell.
Throws:
ArgumentOutOfRangeException 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 DataGridViewRow 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 VirtualMode.
Returns: Object. The object value stored in the cell.
Throws:
ArgumentNullException column is null.
ArgumentException The specified column does not belong to the same DataGridView that owns the cells.
ArgumentOutOfRangeException rowIndex is less than 0.- or - rowIndex is equal to or greater than Count.
Retrieves the value for the specified cell without retrieving a DataGridViewRow 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 VirtualMode.
Returns: Object. The object value stored in the cell.
Throws:
ArgumentException columnName does not match the name of any columns in the control.
ArgumentOutOfRangeException rowIndex is less than 0.- or - rowIndex is equal to or greater than Count.
Returns the column index and row index that contain the specified x, y client coordinates.
Returns: HitTestInfo. A HitTestInfo 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: HitTestInfo. A HitTestInfo that contains the column index and row index information.
Checks if the specified cell can enter edit mode.
Returns: Boolean. 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: Boolean. 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: Boolean. 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: Boolean. 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: Boolean. 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: Boolean. 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: Boolean. true if the coordinates correspond to a valid cell address.
Verifies that the column index and row index refer to a valid cell.
Returns: Boolean. true if the coordinates correspond to a valid cell address.
Verifies that the column index refer to a valid column.
Returns: Boolean. true if the column index corresponds to a valid column.
Verifies that the row index refer to a valid row.
Returns: Boolean. true if the row index corresponds to a valid row.
Notifies the DataGridView that the current cell has uncommitted changes.
Fires the TopLeftHeaderClick event, if MultiSelect is true, selects all the rows in the control.
Throws:
ArgumentOutOfRangeException The value of the ColumnIndex property of e is greater than the number of columns in the control, or the value of the RowIndex property of e is greater than the number of rows in the control.
Forces a full reload of the data displayed by this DataGridView.
Forces a full reload of the data displayed by this DataGridView.
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:
ArgumentNullException cell is null.
ArgumentException cell doesn't belong to this DataGridView.
Scrolls the specified cell into view aligned according to the position specified by alignX and alignY , if possible.
Throws:
ArgumentNullException cell is null.
ArgumentException cell doesn't belong to this DataGridView.
Scrolls the specified cell into view.
Throws:
ArgumentOutOfRangeException 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:
ArgumentOutOfRangeException 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:
ArgumentOutOfRangeException 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:
ArgumentOutOfRangeException 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:
ArgumentOutOfRangeException 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:
ArgumentOutOfRangeException columnIndex is less than -1 or greater than the number of columns in the control.
Scrolls the specified column into view.
Throws:
ArgumentNullException column is null.
ArgumentException column doesn't belong to this DataGridView.
Scrolls the specified column into view aligned to the left or right according to position specified by alignX .
Throws:
ArgumentNullException column is null.
ArgumentException column doesn't belong to this DataGridView.
Scrolls the specified row into view.
Throws:
ArgumentOutOfRangeException 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:
ArgumentOutOfRangeException rowIndex is less than -1 or greater than the number of rows in the control.
Scrolls the specified row into view.
Throws:
ArgumentNullException row is null.
ArgumentException row doesn't belong to this DataGridView.
Scrolls the specified row into view aligned to the top or bottom according to the position specified by alignY .
Throws:
ArgumentNullException row is null.
ArgumentException row doesn't belong to this DataGridView.
Selects all the cells, or rows, or columns, according to the SelectionMode property when the MultiSelect is true.
Selects all the cells, regardless of the SelectionMode and MultiSelect properties.
Selects all the columns, regardless of the SelectionMode and MultiSelect properties.
Selects all the rows, regardless of the SelectionMode and MultiSelect properties.
Sets the command of the specified cell without retrieving a DataGridViewRow 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 VirtualMode.
Throws:
ArgumentNullException column is null.
ArgumentException The specified column does not belong to the same DataGridView that owns the cells.
ArgumentOutOfRangeException rowIndex is less than 0.- or - rowIndex is equal to or greater than Count.
Sets the command of the specified cell without retrieving a DataGridViewRow 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 VirtualMode.
Throws:
ArgumentOutOfRangeException columnIndex is less than 0 or columnIndex is equal to or greater than the number of cells in the collection.
ArgumentOutOfRangeException rowIndex is less than 0.- or - rowIndex is equal to or greater than Count.
Sets the command of the specified cell without retrieving a DataGridViewRow 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 VirtualMode.
Throws:
ArgumentOutOfRangeException cellAddress is less than 0 or equal to or greater than the number of row or columns in the collection.
Sets the command of the specified cell without retrieving a DataGridViewRow 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 VirtualMode.
Throws:
ArgumentException columnName does not match the name of any columns in the control.
ArgumentOutOfRangeException rowIndex is less than 0.- or - rowIndex is equal to or greater than Count.
Sets the currently focused cell.
Sets the currently focused cell.
Sets the state for the row at rowIndex .
When using this method, the state parameter must contain all the states to set for the row. The best way to do this is to use GetRowState first and then OR or XOR or AND the state to alter. To set a specific state use SetRowState. Throws:
ArgumentOutOfRangeException rowIndex is less than zero and greater than the number of rows in the collection.
Sets the state for the row at rowIndex .
Throws:
ArgumentOutOfRangeException 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 DataGridViewRow 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 VirtualMode.
Throws:
ArgumentOutOfRangeException columnIndex is less than 0 or columnIndex is equal to or greater than the number of cells in the collection.
ArgumentOutOfRangeException rowIndex is less than 0.- or - rowIndex is equal to or greater than Count.
Sets the value of the specified cell without retrieving a DataGridViewRow 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 VirtualMode.
Throws:
ArgumentOutOfRangeException 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 DataGridViewRow 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 VirtualMode.
Throws:
ArgumentException columnName does not match the name of any columns in the control.
ArgumentOutOfRangeException rowIndex is less than 0.- or - rowIndex is equal to or greater than Count.
Sets the value of the specified cell without retrieving a DataGridViewRow 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 VirtualMode.
Throws:
ArgumentNullException column is null.
ArgumentException The specified column does not belong to the same DataGridView that owns the cells.
ArgumentOutOfRangeException rowIndex is less than 0.- or - rowIndex is equal to or greater than Count.
Sorts the contents of the DataGridView control in ascending or descending order based on the contents of the specified column.
Throws:
ArgumentException The specified column is not part of this DataGridView; or the DataSource property has been set and the IsDataBound property of the specified column returns false.
ArgumentNullException column is null.
InvalidOperationException The VirtualMode property is set to true and the IsDataBound property of the specified column returns false; or the object specified by the DataSource property does not implement the IBindingList interface; or the object specified by the DataSource property has a SupportsSorting property value of false.
Sorts the contents of the DataGridView control using an implementation of the IComparer interface.
Throws:
ArgumentNullException comparer is null.
InvalidOperationException VirtualMode is set to true; or DataSource 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.
EventHandler Fired when the value of the AllowUserToAddRows property changes.
EventHandler Fired when the value of the AllowUserToDeleteRowsChanged property changes.
EventHandler Fired when the value of the AllowUserToOrderColumns property changes.
EventHandler Fired when the value of the AllowUserToResizeColumns property changes.
EventHandler Fired when the value of the AllowUserToResizeRows property changes.
DataGridViewCellCancelEventHandler Fired when edit mode starts for the selected cell.
DataGridViewCellEventHandler Fired when any part of a cell is clicked.
DataGridViewCellEventHandler Fired when the command of a cell changes.
DataGridViewCellCommandEventHandler Fired when the VirtualMode property of the DataGridView control is true and the DataGridView requires a command for a cell in order to execute a user action.
DataGridViewCellCommandEventHandler Fired when the VirtualMode property of the DataGridView control is true and a cell command has changed and requires storage in the underlying data source.
DataGridViewCellContextMenuNeededEventHandler Fired when a cell's context menu is needed.
DataGridViewCellEventHandler Fired when the user double-clicks anywhere in a cell.
DataGridViewCellEventHandler Fired when edit mode stops for the current cell.
DataGridViewCellEventHandler Fired when the current cell changes in the DataGridView control or when the control receives input focus.
DataGridViewCellEventHandler Fired when the value of the ErrorText property of a cell changes.
DataGridViewCellErrorTextNeededEventHandler Fired when a cell's error text is needed.
DataGridViewCellFormattingEventHandler Fired when the contents of a cell need to be formatted for display.
DataGridViewCellEventHandler Fired when a cell loses input focus and is no longer the current cell.
DataGridViewCellMouseEventHandler Occurs whenever the user clicks anywhere on a cell with the mouse.
DataGridViewCellMouseEventHandler Fired when a cell within the DataGridView is double-clicked.
DataGridViewCellMouseEventHandler Fired when the user presses a mouse button while the pointer is within the boundaries of a cell.
DataGridViewCellEventHandler 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.
DataGridViewCellEventHandler 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.
DataGridViewCellMouseEventHandler Fired when the mouse pointer moves over the DataGridView 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.
DataGridViewCellMouseEventHandler Fired when the user releases a mouse button while over a cell.
DataGridViewCellPaintEventHandler Fired when a cell with the property UserPaint set to true needs to be drawn.
DataGridViewCellParsingEventHandler Fired when a cell leaves edit mode if the cell value has been modified.
DataGridViewCellStateChangedEventHandler Fired when a cell state changes, such as when the cell is selected or focused.
DataGridViewCellEventHandler Fired when the Style property of a DataGridViewCell changes.
DataGridViewCellStyleContentChangedEventHandler Fired when one of the values of a cell style changes.
DataGridViewToolClickEventHandler Fired when a ComponentTool hosted in a cell editor is clicked.
DataGridViewCellEventHandler Fired when the value of the ToolTipText property of a cell changes.
DataGridViewCellToolTipTextNeededEventHandler Fired when a cell's ToolTip text is needed.
DataGridViewCellEventHandler Occurs after the cell has finished validating.
DataGridViewCellValidatingEventHandler Fired when a cell loses input focus, enabling content validation.
DataGridViewCellEventHandler Fired when the value of a cell changes.
DataGridViewCellValueEventHandler Fired when the VirtualMode property of the DataGridView control is true and the DataGridView requires a value for a cell in order to format and display the cell.
DataGridViewCellValueEventHandler Fired when the VirtualMode property of the DataGridView control is true and a cell value has changed and requires storage in the underlying data source.
DataGridViewColumnEventHandler Fired when a column is added to the control.
DataGridViewColumnEventHandler Fired when the value the DisplayIndex property for a column changes.
DataGridViewColumnEventHandler Fired when the FillWeight property changes.
DataGridViewCellMouseEventHandler Fired when the user clicks a column header.
DataGridViewCellMouseEventHandler Fired when a column header is double-clicked.
EventHandler Fired when the value of the ColumnHeadersHeight property changes.
DataGridViewColumnEventHandler Fired when the value of the MaximumWidth property for a column changes.
DataGridViewColumnEventHandler Fired when the value of the MinimumWidth property for a column changes.
DataGridViewColumnEventHandler Fired when the Name property changes.
DataGridViewColumnEventHandler Fired when a column is removed from the control.
DataGridViewColumnEventHandler Fired when the value of the SortMode property changes.
DataGridViewColumnStateChangedEventHandler Fired when a column changes state, such as becoming visible.
DataGridViewColumnEventHandler Fired when the value of the Width property for a column changes.
EventHandler Fired when the CurrentCell property changes.
DataGridViewBindingCompleteEventHandler Occurs after a data-binding operation has finished.
DataGridViewDataErrorEventHandler Fired when a data parsing or data validation operation throws an exception, or when committing data to a data source fails.
EventHandler Fired when value of the DataMember property changes.
DataGridViewDataReadEventHandler Occurs when the client requests a set of rows from the server.
You can use this event when the DataGridView is in VirtualMode to pre-populate a paged data set used when handling the CellValueNeeded events.
EventHandler Fired when the value of the DataSource property changes.
DataGridViewDataUpdatedEventHandler 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 OnDataUpdated won't work.
EventHandler Fired when the value of the DefaultRowHeight property changes.
DataGridViewRowEventHandler Fired when the user enters the row for new records so that it can be populated with default values.
DataGridViewEditingControlShowingEventHandler Fired when a control for editing a cell is showing.
EventHandler Fired when the value of the EditMode property changes.
EventHandler Fired when the value of the KeepSameRowHeight property changes.
DataGridViewCellEventHandler Fired when the user tabs past the last cell.
EventHandler Fired when the value of the LiveResize property changes.
EventHandler Fired when the value of the MultiSelect property changes.
DataGridViewRowEventHandler Fired when the VirtualMode property of the DataGridView is true and the user navigates to the new row at the bottom of the DataGridView.
EventHandler Fired when the value of the ReadOnly property changes.
DataGridViewRowEventHandler Fired when a parent row is collapsed.
DataGridViewCellEventHandler Fired when a row receives input focus but before it becomes the current row.
DataGridViewRowEventHandler Fired when the ErrorText property of a row changes.
DataGridViewRowErrorTextNeededEventHandler Fired when the row's error text is required.
DataGridViewRowEventHandler Fired when a parent row is expanded.
DataGridViewCellMouseEventHandler Fired when the user clicks within the boundaries of a row header.
DataGridViewCellMouseEventHandler Fired when a row header is double-clicked.
EventHandler Fired when value of the RowHeadersWidth property changes.
DataGridViewRowEventHandler Fired when the value of the Height property for a row changes.
DataGridViewRowHeightInfoNeededEventHandler Fired when information about row height is requested.
DataGridViewCellEventHandler Fired when a row loses input focus and is no longer the current row.
DataGridViewRowEventHandler Fired when the value of the MaximumHeight property for a row changes.
DataGridViewRowEventHandler Fired when the value of the MinimumHeight property for a row changes.
DataGridViewRowsAddedEventHandler Occurs after a new row is added to the DataGridView.
DataGridViewRowsRemovedEventHandler Fired when a row or rows are deleted from the DataGridView.
DataGridViewRowStateChangedEventHandler Fired when a row changes state, such as getting selected.
DataGridViewCellEventHandler Occurs after a row has finished validating.
DataGridViewCellCancelEventHandler Fired when a row is validating.
ScrollEventHandler 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.
EventHandler Fired when the current selection changes.
EventHandler Fired when the value of the ShowColumnVisibilityMenu property changes.
DataGridViewSortCompareEventHandler Fired when the DataGridView compares two cell values to perform a sort operation.
EventHandler Fired when the DataGridView control completes a sorting operation.
EventHandler Fired when the value of the StandardTab property changes.
ToolClickEventHandler Fired when a ComponentTool is clicked.
DataGridViewCellCancelEventHandler Fired when the user presses a mouse button while the pointer is on the top-left corner cell.
DataGridViewRowEventHandler Fired when the user has finished adding a row to the DataGridView control.
DataGridViewRowEventHandler Fired when the user has finished deleting a row from the DataGridView control.
DataGridViewRowCancelEventHandler Fired when the user deletes a row from the DataGridView control.
Wisej.Web.DataGridViewCellFormattingEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that will handle the CellFormatting event of a DataGridView.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.DataGridViewCellMouseEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for mouse events raised by a DataGridView.
Int32: Returns the zero-based column index of the cell.
Int32: Returns the zero-based row index of the cell.
Name | Description |
---|---|
Wisej.Web.DataGridViewCellPaintEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that will handle CellPaint events.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.DataGridViewCellMouseEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that will handle mouse-related events raised by a DataGridView.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.DataGridViewCellFormattingEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the CellFormatting event of a DataGridView.
Initializes a new instance of the DataGridViewCellFormattingEventArgs class.
Name | Type | Description |
---|---|---|
Throws:
ArgumentOutOfRangeException columnIndex is less than -1 or rowIndex is less than -1.
DataGridViewCellStyle: Returns or sets the style of the cell that is being formatted.
Int32: Returns the column index of the cell that is being formatted.
Boolean: Returns or sets whether the cell value has been successfully formatted.
Int32: Returns the row index of the cell that is being formatted.
Wisej.Web.DataGridViewCellPaintEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for CellPaint event.
Initializes a new instance of the DataGridViewCellPaintEventArgs class.
Name | Type | Description |
---|---|---|
Throws:
ArgumentOutOfRangeException columnIndex is less than -1, or rowIndex is less than -1.
Int32: Returns a value indicating the column index of the cell that the event occurs for.
Int32: Returns a value indicating the row index of the cell that the event occurs for.
Wisej.Web.DataGridViewCellParsingEventArgs
Wisej.Web.DataGridViewCellStyleContentChangedEventArgs
Wisej.Web.DataGridViewCellStateChangedEventArgs
Wisej.Web.DataGridViewCellStyle
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the formatting and style information applied to individual cells within a control.
Initializes a new instance of the class using default property values.
: Returns or sets a value indicating the position of the cell content within a cell. (Default: NotSet
)
: Returns or sets the background color of a cell.
Throws:
You can use any CSS style string.
Throws:
Represents the method that will handle events related to cell and row operations.
A that contains the event data.
Fired when the property of a changes.
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 the value of the property of a cell changes.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
: Returns the column index of the cell data that requires parsing.
: Returns or sets the style applied to the edited cell.
: Returns or sets whether a cell's value has been successfully parsed.
: Returns the row index of the cell that requires parsing.
Name | Description |
---|
: Returns the state that has changed on the cell.
Name | Description |
---|
: Returns or sets the background image displayed in a cell. (Default: null
)
: Returns or sets the background image alignment as defined in the enumeration. (Default: MiddleLeft
)
: Returns or sets the background image layout as defined in the enumeration. (Default: None
)
: Returns or sets the theme name or URL for the background image displayed in a cell. (Default: null
)
: Returns or sets the number of columns that this cell can use to render its content. (Default: 1
)
The value is lower than 1 or greater than 100.
: Returns or sets additional CSS class names to add to the .
: Returns or sets the custom CSS styles to apply to the .
: Returns or sets the value saved to the data source when the user enters a null value into a cell.
: Returns or sets the font applied to the textual content of a cell.
: Returns or sets the foreground color of a cell.
: Returns or sets the format string applied to the textual content of a cell.
: Returns or sets the object used to provide culture-specific formatting of cell values.
: Returns a value indicating whether the property has been set.
: Returns a value that indicates whether the property has been set.
: Returns a value indicating whether the property has been set.
: Returns or sets the cell display value corresponding to a cell value of or null.
: Returns or sets the space between the edge of a and its content.
: Returns or sets the number of rows that this cell can use to render its content. (Default: 1
)
The value is lower than 1 or greater than 100.
: Returns the scope (the type of object) that owns the cell style.
: Returns or sets an object that contains additional data related to the .
: Returns or sets whether textual content in a 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 .
Returns: . A that represents an exact copy of this cell style.
Releases all resources used by the .
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.
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.
columnIndex
The index of the column containing the cell.
rowIndex
The index of the row containing 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.
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
alignY
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
column
The DataGridViewColumn that contains the cell.
rowIndex
The index of the row containing the cell.
command
Value to store in the cell identified by column and rowIndex .
columnIndex
The index of the column containing the cell.
rowIndex
The index of the row containing the cell.
command
Value to store in the cell identified by columnIndex and rowIndex .
cellAddress
Row and column index of the cell.
command
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.
command
Value to store in the cell identified by columnName and rowIndex .
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.
rowIndex
The index of the row.
state
DataGridViewElementStates state to turn on or off.
on
True to add the state , otherwise false to remove the state .
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.
Controls that support drag & drop operations 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.
Represents a Wisej component that is capable of handling postback requests from the client.
Allows an object to serialize itself.
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 DataGridViewCellPaintEventArgs that contains the event data.
Fired when a cell with the property UserPaint set to true needs to be drawn.
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 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.
Represents the method that will handle the CellFormatting event of a DataGridView.
Represents the method that will handle CellPaint events.
summaryType
Determines the aggregation type.
groupCol
Name of the column that determines the group break values.
summaryCol
name of the column to aggregate.
Optional DataGridViewCellStyle for the summary rows.
Optional custom summary function, used when summaryType is Custom.
summaryType
Determines the aggregation type.
summaryPosition
Indicates the position of the DataGridViewSummaryRow.
groupCol
Name of the column that determines the group break values.
summaryCol
Name of the column to aggregate.
Optional DataGridViewCellStyle for the summary rows.
Optional custom summary function, used when summaryType is Custom.
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.
summaryCol
Name of the column to aggregate.
Optional DataGridViewCellStyle for the summary rows.
Optional custom summary function, used when summaryType is Custom.
summaryType
Determines the aggregation type.
summaryPosition
Indicates the position of the DataGridViewSummaryRow.
groupFromCol
Name of the first column that determines the group break values.
groupToCol
Name of the last column that determines the group break values.
summaryCol
Name of the column to aggregate.
Optional DataGridViewCellStyle for the summary rows.
Optional custom summary function, used when summaryType is Custom.
summaryType
Determines the aggregation type.
groupCol
Column that determines the group break values.
summaryCol
Column to aggregate.
Optional DataGridViewCellStyle for the summary rows.
Optional custom summary function, used when summaryType is Custom.
summaryType
Determines the aggregation type.
summaryPosition
Indicates the position of the DataGridViewSummaryRow.
groupCol
Column that determines the group break values.
summaryCol
Column to aggregate.
Optional DataGridViewCellStyle for the summary rows.
Optional custom summary function, used when summaryType is Custom.
summaryType
Determines the aggregation type.
groupFromCol
First column that determines the group break values.
groupToCol
Last column that determines the group break values.
summaryCol
Column to aggregate.
Optional DataGridViewCellStyle for the summary rows.
Optional custom summary function, used when summaryType is Custom.
summaryType
Determines the aggregation type.
summaryPosition
Indicates the position of the DataGridViewSummaryRow.
groupFromCol
First column that determines the group break values.
groupToCol
Last column that determines the group break values.
summaryCol
Column to aggregate.
Optional DataGridViewCellStyle for the summary rows.
Optional custom summary function, used when summaryType is Custom.
data
The object that contains data for the DataGridView to display.
The name of the table or list in the data object for which the DataGridView should load the data.
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.
The name of the table or list in the data object for which the DataGridView should load the data.
Represents the method that will handle mouse-related events raised by a DataGridView.
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.
desiredType
The type to convert value to.
cellStyle
The style of the cell that caused the event.
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.
clipRect
The Rectangle that represents the rectangle in which to paint.
rowIndex | The row index of the cell that was changed. |
columnIndex | The column index of the cell that was changed. |
value | The new value. |
desiredType | The type of the new value. |
inheritedCellStyle | The style applied to the cell that was changed. |
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. |
Represents the method that will handle the event of a . |
sender | The source of the event. |
e | A that contains the event data. |
Fired when a cell state changes, such as when the cell is selected or focused. |
cell |
state |
Wisej.Web.DataGridViewCellStyleContentChangedEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that will handle the CellStyleContentChanged event of a DataGridView.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.DataGridViewCellToolTipTextNeededEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that handles the CellToolTipTextNeeded event of a DataGridView.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.DataGridViewCellValidatingEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the CellValidating event of a DataGridView control.
Int32: Returns the column index of the cell that needs to be validated.
Object: Return or sets the formatted contents of the cell that needs to be validated.
Int32: Returns the row index of the cell that needs to be validated.
Name | Description |
---|---|
Wisej.Web.DataGridViewCellValidatingEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that will handle the CellValidating event of a DataGridView control.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.DataGridViewCellToolTipTextNeededEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the CellToolTipTextNeeded event.
String: Gets or sets the ToolTip text.
Name | Description |
---|---|
Wisej.Web.DataGridViewCellValueEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the CellValueNeeded and CellValuePushed events of the DataGridView control.
Initializes a new instance of the DataGridViewCellValueEventArgs class.
Name | Type | Description |
---|---|---|
Throws:
ArgumentOutOfRangeException columnIndex is less than 0; or rowIndex is less than 0.
Int32: Returns a value indicating the column index of the cell that the event occurs for.
Int32: Returns a value indicating the row index of the cell that the event occurs for.
Object: Returns or sets the value of the cell that the event occurs for.
Wisej.Web.DataGridViewCellValueEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that will handle the CellValueNeeded event or CellValuePushed event of a DataGridView.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.DataGridViewCollectionChangeEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Extends the class to add the internal flag RecreateNewRow.
Provides data for the System.Data.DataColumnCollection.CollectionChanged event.
Name | Type | Description |
---|
Provides data for the System.Data.DataColumnCollection.CollectionChanged event.
Name | Type | Description |
---|
Wisej.Web.DataGridViewChildRowCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a collection of 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.
Copies the elements of the collection to the specified array, starting at the specified index.
Throws:
Returns the index of the specified element.
Wisej.Web.DataGridViewColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.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.
Name | Type | Description |
---|
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 "<br/>".
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Resets the width to the default value.
Updates the component on the client.
Wisej.Web.DataGridViewCheckBoxCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Displays a icon (not the actual control) in a cell.
: Gets or sets the value that corresponds to false, which appears as an unchecked box. (Default: null
)
Converts a value to the actual cell value.
Throws:
Wisej.Web.DataGridViewCheckBoxColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.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.
Name | Type | Description |
---|
Throws:
This value is inherited by all the cells in the column that do not specify a value for this property. Throws:
This value is inherited by all the cells in the column that do not specify a value for this property. Throws:
This value is inherited by all the cells in the column that do not specify a value for this property. Throws:
This value is inherited by all the cells in the column that do not specify a value for this property. Throws:
style
customSummary
style
customSummary
style
customSummary
style
customSummary
style
customSummary
style
customSummary
style
customSummary
style
customSummary
dataMember
selectAll
dataMember
Represents the method that will handle a event of a .
Represents the method that will handle the event of a .
The that has a changed state.
One of the values indicating the state that has changed on the cell.
Name | Description |
---|---|
: Indicates whether the DataGridView should recreate the new automatic row when the collection changes.
Parameter | Type | Description |
---|
Returns: . true if row is in the collection; otherwise, false.
Parameter | Type | Description |
---|
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 .
The cannot be cast automatically to the type of array .
Parameter | Type | Description |
---|
Returns: . The zero-based index of the row parameter if it is found in the collection; otherwise, -1.
: Returns or sets a value indicating that the column can display HTML text. (Default: False
)
: Returns or sets whether the ellipsis character (...) appears at the right edge of the header text denoting that the text extends beyond the size of the header. (Default: False
)
: Gets or sets the mode by which the column automatically adjusts its width. (Default: NotSet
)
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.
: Returns or sets the name of the data source property or database column to which the is bound. (Default: ""
)
: Gets or sets the context menu for the column. (Default: null
)
: Returns the control associated with this element.
: Returns or sets the name of the data source property or database column to which the is bound. (Default: ""
)
: Returns or sets the column's default cell style.
: Returns or sets the display order of the column relative to the currently displayed columns.
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. (Default: 100
)
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. (Default: False
)
: 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. (Default: 32000
)
The value is less than 0 or greater than 32000.
: Returns or sets the minimum width, in pixels, of the column. (Default: 10
)
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. (Default: False
)
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. (Default: True
)
: Returns or sets the sort mode for the column. (Default: NotSet
)
: Returns or sets the text used for ToolTips. (Default: ""
)
: 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. (Default: False
)
: Returns or sets the data type of the values in the column's cells.
: Returns or sets whether the column is visible. (Default: True
)
: Returns or sets the current width of the column.
The specified value when setting this property is greater than 65536.
Returns: . An that represents the cloned .
Fired when the is disposed.
Name | Description |
---|
Name | Description |
---|
: Returns the type of the formatted value associated with the cell.
: Gets or sets the value that corresponds to indeterminate, which appears as an indeterminate box. (Default: null
)
: Returns or sets a value indicating if the checkbox cell supports three states. (Default: False
)
: Gets or sets the value that corresponds to true, which appears as checked box. (Default: null
)
: Returns or sets the data type of the values in the cell.
Parameter | Type | Description |
---|
Returns: . The cell value.
cellStyle is null.
The property value is null or the property value is null or value cannot be converted.
value is null or the type of value does not match the type indicated by the property.
Name | Description |
---|
: Returns or sets the template used to model cell appearance.
The type is null.
The set type is not compatible with type .
: Returns or sets the column's default cell style.
: Gets or sets the value that corresponds to false, which appears as an unchecked box. (Default: null
)
The property is null.
: Gets or sets the value that corresponds to indeterminate, which appears as an indeterminate box. (Default: null
)
The property is null.
: Returns or sets a value indicating if the checkbox cells support three states. (Default: False
)
The property is null.
: Gets or sets the value that corresponds to true, which appears as a checked box. (Default: null
)
The property is null.
Name | Description |
---|
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.
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
The style is applied to a row.
RowHeader
The style is applied to a row header.
Returns the scope (the type of object) that owns the cell style.
sender
The source of the event.
e
A DataGridViewCellToolTipTextNeededEventArgs that contains the event data.
Fired when a cell's ToolTip text is needed.
sender
A reference to the event sender.
e
A DataGridViewCellValidatingEventArgs that contains the event data.
Fired when a cell loses input focus, enabling content validation.
Represents the method that will handle the CellValueNeeded event or CellValuePushed event of a DataGridView.
sender
The source of the event.
e
A DataGridViewCellValueEventArgs that contains the event data.
Fired when the VirtualMode property of the DataGridView control is true and the DataGridView requires a value for a cell in order to format and display the cell.
Fired when the VirtualMode property of the DataGridView control is true and a cell value has changed and requires storage in the underlying data source.
row |
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 |
All wisej components implement this interface. |
Allows an object to serialize itself. |
value | The display value of the cell. |
cellStyle |
formattedTypeConverter |
valueTypeConverter |
All wisej components implement this interface. |
Allows an object to serialize itself. |
Represents the method that will handle the CellValidating event of a DataGridView control.
Represents the method that handles the CellToolTipTextNeeded event of a DataGridView.
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.
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. |
CopyToClient | The text copied to the clipboard is also always sent to the client's clipboard automatically. |
Disable | Copying to the Clipboard is disabled. |
EnableAlwaysIncludeHeaderText | The text values of selected cells is copied to the Clipboard. The text in the header is included. |
EnableWithAutoHeaderText | The text values of selected cells is copied to the Clipboard. The text in the row header or column header is included only when the property is set to or or and at least one header is selected. |
EnableWithoutHeaderText | The text values of selected cells is copied to the Clipboard. The text in the header is not included. |
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. |
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. |
cellTemplate |
cellTemplate |
Wisej.Web.DataGridViewColumnSortMode
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Defines how a DataGridView column can be sorted by the user.
Name | Description |
---|---|
Name | Description |
---|---|
Wisej.Web.DataGridViewColumnHeaderCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a column header in a DataGridView control.
String: 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.
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.DataGridViewColumnEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that will handle column-related events of a DataGridView.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.DataGridViewColumnCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a collection of DataGridViewColumn objects in a DataGridView control.
Initializes a new instance of the DataGridViewColumnCollection class for the given DataGridView.
Name | Type | Description |
---|---|---|
DataGridViewColumn: Returns the column at the given index in the collection.
Throws:
ArgumentOutOfRangeException index is less than zero or greater than the number of columns in the collection minus one.
DataGridViewColumn: Returns the column of the given name in the collection.
Throws:
ArgumentNullException name is null.
Adds the given DataGridViewColumn to the collection.
Returns: Int32. The index of the column.
Throws:
ArgumentNullException column is null.
InvalidOperationException The associated DataGridView 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 DisplayIndex property values. Or this method is being called from a handler for one of the following DataGridView events: - CellEnter - CellLeave - CellValidating - CellValidated - RowEnter - RowLeave - RowValidated - RowValidating
Adds a DataGridViewTextBoxColumn with the given column name to the collection.
Returns: Int32. The index of the column.
Throws:
InvalidOperationException The associated DataGridView 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 DisplayIndex property values. Or this method is being called from a handler for one of the following DataGridView events: - CellEnter - CellLeave - CellValidating - CellValidated - RowEnter - RowLeave - RowValidated - RowValidating
Adds a DataGridViewTextBoxColumn with the given column name and call value type to the collection.
Returns: Int32. The index of the column.
Throws:
InvalidOperationException The associated DataGridView 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 DisplayIndex property values. Or this method is being called from a handler for one of the following DataGridView events: - CellEnter - CellLeave - CellValidating - CellValidated - RowEnter - RowLeave - RowValidated - RowValidating
Adds a DataGridViewTextBoxColumn with the given column name and column header text to the collection.
Returns: Int32. The index of the column.
Throws:
InvalidOperationException The associated DataGridView 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 DisplayIndex property values. Or this method is being called from a handler for one of the following DataGridView events: - CellEnter - CellLeave - CellValidating - CellValidated - RowEnter - RowLeave - RowValidated - RowValidating
Adds a DataGridViewTextBoxColumn with the given column name, column header text, and cell value type to the collection.
Returns: Int32. The index of the column.
Throws:
InvalidOperationException The associated DataGridView 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 DisplayIndex property values. Or this method is being called from a handler for one of the following DataGridView events: - CellEnter - CellLeave - CellValidating - CellValidated - RowEnter - RowLeave - RowValidated - RowValidating
Adds a range of columns to the collection.
Throws:
ArgumentNullException newColumns is null.
InvalidOperationException The associated DataGridView 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 DisplayIndex property values. Or this method is being called from a handler for one of the following DataGridView events: - CellEnter - CellLeave - CellValidating - CellValidated - RowEnter - RowLeave - RowValidated - RowValidating
Clears the collection.
Throws:
InvalidOperationException The associated DataGridView 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 DisplayIndex property values. Or this method is being called from a handler for one of the following DataGridView events: - CellEnter - CellLeave - CellValidating - CellValidated - RowEnter - RowLeave - RowValidated - RowValidating
Clears the collection and disposes the columns.
Determines whether the collection contains the given DataGridViewColumn.
Returns: Boolean. true if the given column is in the collection; otherwise, false.
Determines whether the collection contains the given DataGridViewColumn.
Returns: Boolean. 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: Int32. The number of columns that match the filter.
Throws:
ArgumentException includeFilter is not a valid combination of DataGridViewElementStates values.
Returns the width, in pixels, required to display all of the columns that meet the includeFilter .
Returns: Int32. The width, in pixels, that is necessary to display all of the columns that match the filter.
Throws:
ArgumentException includeFilter is not a valid combination of DataGridViewElementStates values.
Returns the first DataGridViewColumn in display order that matches the includeFilter and excludeFilter .
Returns: DataGridViewColumn. The first DataGridViewColumn in display order that matches the given filters, or null if no column is found.
Throws:
ArgumentException At least one of the filter values is not a valid combination of DataGridViewElementStates values.
Returns the last DataGridViewColumn in display order that matches the includeFilter and excludeFilter .
Returns: DataGridViewColumn. The last displayed DataGridViewColumn in display order that matches the specified filters, or null if no column is found.
Throws:
ArgumentException At least one of the filter values is not a valid combination of DataGridViewElementStates values.
Returns the first DataGridViewColumn after the given column in display order that matches the includeFilter and excludeFilter .
Returns: DataGridViewColumn. The next DataGridViewColumn that matches the filters, or null if no column is found.
Throws:
ArgumentNullException startColumn is null.
ArgumentException At least one of the filter values is not a valid combination of DataGridViewElementStates values.
Returns the last DataGridViewColumn prior to the given column in display order that matches the includeFilter and excludeFilter .
Returns: DataGridViewColumn. The previous column that matches the given filters, or null if no column is found.
Throws:
ArgumentNullException startColumn is null.
ArgumentException At least one of the filter values is not a valid combination of DataGridViewElementStates values.
Returns the index of the given DataGridViewColumn in the collection.
Returns: Int32. The index of the given DataGridViewColumn.
Returns the index of the DataGridViewColumn with the specified name from the collection.
Returns: Int32. The index of the given DataGridViewColumn.
Throws:
ArgumentNullException name is null.
Inserts a DataGridViewColumn at the given index in the collection.
Throws:
ArgumentNullException column is null.
InvalidOperationException The associated DataGridView 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 DisplayIndex property values; or this method is being called from a handler for one of the following DataGridView events:CellEnterCellLeaveCellValidatingCellValidatedRowEnterRowLeaveRowValidatedRowValidating or column already belongs to a DataGridView control; or the column SortMode property value is Automatic and the SelectionMode property value is FullColumnSelect or ColumnHeaderSelect. Use the control System#ComponentModel#ISupportInitialize#BeginInit and System#ComponentModel#ISupportInitialize#EndInit methods to temporarily set conflicting property values; or the column InheritedAutoSizeMode property value is ColumnHeader and the ColumnHeadersVisible property value is false; or column has an InheritedAutoSizeMode property value of Fill and a Frozen property value of true; or column has DisplayIndex and Frozen property values that would display it among a set of adjacent columns with the opposite Frozen property value; or the DataGridView control contains at least one row and column has a CellType property value of null.
Removes the specified DataGridViewColumn from the collection.
Throws:
ArgumentException column is not in the collection.
ArgumentNullException column is null.
InvalidOperationException The associated DataGridView 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 DisplayIndex property values; or this method is being called from a handler for one of the following DataGridView events:CellEnterCellLeaveCellValidatingCellValidatedRowEnterRowLeaveRowValidatedRowValidating
Removes the DataGridViewColumn with the specified name from the collection.
Throws:
ArgumentException name does not match the name of any column in the collection.
ArgumentNullException name is null.
InvalidOperationException The associated DataGridView 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 DisplayIndex property values; or this method is being called from a handler for one of the following DataGridView events:CellEnterCellLeaveCellValidatingCellValidatedRowEnterRowLeaveRowValidatedRowValidating
Removes the DataGridViewColumn at the given index in the collection.
Throws:
ArgumentOutOfRangeException index is less than zero or greater than the number of columns in the control minus one.
InvalidOperationException The associated DataGridView 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 DisplayIndex property values. Or this method is being called from a handler for one of the following DataGridView events: - CellEnter - CellLeave - CellValidating - CellValidated - RowEnter - RowLeave - RowValidated - RowValidating
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 ColumnDisplayIndexChanged event.
CollectionChangeEventHandler Fired when the collection changes.
Wisej.Web.DataGridViewColumnEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for column-related events of a DataGridView.
Initializes a new instance of the DataGridViewColumnEventArgs class.
Name | Type | Description |
---|---|---|
Throws:
ArgumentNullException column is null.
DataGridViewColumn: Returns the column that the event occurs for.
Wisej.Web.DataGridViewColumnStateChangedEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that will handle the ColumnStateChanged event of a DataGridView.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.DataGridViewColumnsSortMode
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Defines how a DataGridView columns can be sorted by the user.
Name | Description |
---|---|
Name | Description |
---|---|
Wisej.Web.DataGridViewComboBoxColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a DataGridView column that contains a collection of DataGridViewComboBoxCell cells.
Initializes a new instance of the DataGridViewComboBoxColumn class to the default state.
Initializes a new instance of the DataGridViewComboBoxColumn class to the default state.
Name | Type | Description |
---|---|---|
AutoCompleteMode: Returns or sets how automatic completion works for the DataGridViewComboBoxColumn. (Default: None
)
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. (Default: Normal
)
Object: Returns or sets the data source that populates the selections for the combo boxes. (Default: null
)
String: Returns or sets the name of the property or column from which to retrieve the text to display in the combo box cell. (Default: ""
)
ComboBoxStyle: Returns or sets the drop down style of the combo box. (Default: DropDown
)
String: Returns or sets the name of the property or column from which to get the icon to use in the drop-down list. (Default: ""
)
Boolean: Returns or sets whether items are selected incrementally as the user types within a timeout of 1 second. (Default: True
)
ObjectCollection: Returns the collection of the items contained in this DataGridViewComboBoxColumn.
Throws:
InvalidOperationException The value of the CellTemplate property is null.
Boolean: Enables or disables lazy loading mode for the ComboBox cell editor control. (Default: False
)
Int32: Returns or sets the maximum number of characters that can be entered into the editable part of the combo box control. (Default: 0
)
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. (Default: False
)
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. (Default: ""
)
Type: Returns or sets the data type of the values in the column's cells.
Boolean: Enables or disables virtual scrolling mode for the ComboBox cell editor control. (Default: False
)
String: Returns or sets the text to show when the textbox is empty. (Default: null
)
Wisej.Web.DataGridViewColumnStateChangedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the event.
Initializes a new instance of the class.
Name | Type | Description |
---|
: Returns the column whose state changed.
: Returns the new column state.
Wisej.Web.DataGridViewComboBoxCell ObjectCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the collection of items in a cell.
: 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.
Throws:
Adds a collection of items to the list.
Determines if the specified item is located within the collection.
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.
Retrieves the index within the collection of the specified item.
Throws:
Inserts an item into the collection at the specified index.
Throws:
Throws:
Wisej.Web.DataGridViewComboBoxCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Displays an editable control in a cell when in edit mode.
: Returns or sets how automatic completion works for the . (Default: None
)
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Converts a value to the actual cell value.
Throws:
Wisej.Web.DataGridViewDataReadEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the event.
Initializes a new instance of the class.
Name | Type | Description |
---|
: Returns the index of the first row requested by the grid.
: Returns the index of the last row requested by the grid.
Wisej.Web.DataGridViewComboBoxEditingControl
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.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.
Prepares the currently selected cell for editing.
Wisej.Web.DataGridViewDataErrorEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the event.
Initializes a new instance of the class.
Name | Type | Description |
---|
: Returns the exception that represents the error.
Throws:
The to locate in the .
The to locate in the collection.
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.
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.
Represents a column that contains a collection of cells.
The in effect for the cell.
A for the display value type, or null to use the default converter.
A for the cell value type, or null to use the default converter.
Defines an object that can invoke a .
An existing to use as a template.
An existing to use as a template.
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|
Adds an item to the list of items for a .
Parameter | Type | Description |
---|
Returns: . The zero-based index of the item in the collection.
The item parameter was null.
Parameter | Type | Description |
---|
Removes all items from the .
Parameter | Type | Description |
---|
Returns: . true if the item is located within the collection; otherwise, false.
Parameter | Type | Description |
---|
Returns: . A that represents the item collection.
Parameter | Type | Description |
---|
Returns: . The zero-based index where the item is located within the collection; otherwise, -1.
The value parameter was null.
Parameter | Type | Description |
---|
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 .
Parameter | Type | Description |
---|
Removes an item from the at the specified index.
Parameter | Type | Description |
---|
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.
: Returns or sets whether the cell editor modifies the case of characters as they are typed. (Default: Normal
)
: Returns or sets the data source that contains the possible selections shown in the drop-down list.
The specified value when setting this property is not null and is not of type nor .
: Returns or sets the name of the property or column from which to retrieve the text to display in the combo box cell. (Default: ""
)
The property is not null and the specified value when setting this property is not null or and does not name a valid property or column in the data source.
: Returns or sets the style of the combo box. (Default: DropDown
)
: Returns the type of the cell's hosted editing control.
: Returns or sets the name of the property or column from which to get the icon to use in the drop-down list. (Default: ""
)
The property is not null and the specified value when setting this property is not null or and does not name a valid property or column in the data source.
: Returns or sets whether items are selected incrementally as the user types within a timeout of 1 second. (Default: True
)
: Returns the collection of the items contained in this .
: Enables or disables lazy loading mode for the cell editor control. (Default: False
)
: Returns or sets the maximum number of characters that can be entered into the editable part of the combo box control. (Default: 0
)
The value is less than 0.
: Returns or sets if the items in the combo box editor are automatically sorted. (Default: False
)
An attempt was made to sort a cell that is attached to a data source.
: Returns the instance of associated with this cell.
: 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. (Default: ""
)
The property is not null and the specified value when setting this property is not null or and does not name a valid property or column in the data source.
: Returns or sets the data type of the values in the cell.
: Enables or disables virtual scrolling mode for the cell editor control. (Default: False
)
: Returns or sets the text to show when the control is empty.
Parameter | Type | Description |
---|
Returns: . The cell value.
cellStyle is null.
The property value is null or the property value is null or value cannot be converted.
value is null or the type of value does not match the type indicated by the property.
Fired when the collection changes.
Name | Description |
---|
Name | Description |
---|
Parameter | Type | Description |
---|
Returns: . An that represents the formatted version of the cell contents.
Parameter | Type | Description |
---|
Name | Description |
---|
: Returns or sets whether to throw the exception after the delegate is finished with it.
When setting this property to true, the property value is null.
Name | Description |
---|
Automatic
The user can sort the column by clicking the column header unless the column headers are used for selection. A sorting glyph will be displayed automatically.
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.
includeVisualProperties
true to include inherited visual properties; otherwise, false to include only formatting properties.
Defines an object that can invoke a Command.
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.
Fired when the value of the MaximumWidth property for a column changes.
Fired when the value of the SortMode property changes.
Fired when the Name property changes.
Fired when the FillWeight property 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 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.
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 .
Represents the method that will handle column-related events of a DataGridView.
sender
The source of the event.
e
A DataGridViewColumnStateChangedEventArgs that contains the event data.
Fired when a column changes state, such as becoming visible.
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.
All wisej components implement this interface.
Allows an object to serialize itself.
A combination of the DataGridViewElementStates values for inclusion.
A combination of the DataGridViewElementStates values for exclusion.
A combination of the DataGridViewElementStates values for inclusion.
A combination of the DataGridViewElementStates values for exclusion.
startColumn
The column from which to start searching for the next column.
A combination of the DataGridViewElementStates values for inclusion.
A combination of the DataGridViewElementStates values for exclusion.
startColumn
The column from which to start searching for the previous column.
A combination of the DataGridViewElementStates values for inclusion.
A combination of the DataGridViewElementStates values for exclusion.
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 |
index | The index of the item to remove. |
value | The display value of the cell. |
cellStyle |
formattedTypeConverter |
valueTypeConverter |
style |
selectAll | true to select the cell contents; otherwise, false. |
Bindable components implement this interface. |
Controls that support drag & drop operations implement this interface. |
Provides access to the validation events and properties property for controls that support validation. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
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. |
MiddleRight | The content is aligned vertically at the middle and horizontally at the right of a cell. |
NotSet | The alignment is not set. |
TopCenter | The content is aligned vertically at the top and horizontally at the center of a cell. |
TopLeft | The content is aligned vertically at the top and horizontally at the left of a cell. |
TopRight | The content is aligned vertically at the top and horizontally at the right of a cell. |
Gets or sets the alignment of the image in the cell. |
Gets or sets the image alignment in the cells for the column. |
dataGrid
The DataGridView that created this collection.
column
The column that the event occurs for.
cellTemplate
An existing DataGridViewButtonCell to use as a template.
column |
state |
firstIndex | Index of the first row. |
lastIndex | Index of the last row. |
sender | The source of the event. |
e | A 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. |
exception | The exception that occurred. |
columnIndex |
rowIndex |
sender | The source of the event. |
e | A that contains the event data. |
Occurs when the client requests a set of rows from the server. |
Wisej.Web.DataGridViewEditingControlShowingEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the EditingControlShowing event.
DataGridViewCellStyle: Returns or sets the cell style of the edited cell.
Control: The control shown to the user for editing the selected cell's value.
Name | Description |
---|---|
Wisej.Web.DataGridViewDateTimePickerCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Displays an editable DateTimePicker control in a DataGridViewCell cell when in edit mode.
String: Returns or sets the custom date/time format string.
See Custom Date and Time Format Strings for the supported format definitions.
Type: Returns the type of the cell's hosted editing control.
DateTimePickerFormat: Returns or sets the format of the date/time value displayed in the control. (Default: DateTime
)
DateTime: Returns or sets the maximum date and time that can be selected in the control.
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).
DateTime: Returns or sets the minimum date and time that can be selected in the control.
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).
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. (Default: False
)
ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this cell.
Type: Returns or sets the data type of the values in the cell.
Wisej.Web.DataGridViewDataUpdatedEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that will handle the DataUpdated event of a DataGridView.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.DataGridViewDateTimePickerEditingControl
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a DateTimePicker control that can be hosted in a DataGridViewDateTimePickerCell.
DataGridView: 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.
Retrieves the formatted value of the cell.
Returns: String. An String that represents the formatted version of the cell contents.
Prepares the edit control for editing.
Wisej.Web.DataGridViewDataUpdatedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the DataUpdated event.
Initializes a new instance of the DataGridViewDataUpdatedEventArgs class.
Name | Type | Description |
---|---|---|
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.
Wisej.Web.DataGridViewDateTimePickerColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a DataGridView column that contains a collection of DataGridViewDateTimePickerCell cells.
Initializes a new instance of the DataGridViewDateTimePickerColumn class to the default state.
Initializes a new instance of the DataGridViewDateTimePickerColumn class to the default state.
Name | Type | Description |
---|---|---|
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. (Default: ""
)
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. (Default: DateTime
)
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. (Default: False
)
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.
Wisej.Web.DataGridViewHeaderCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Contains functionality common to row header cells and column header cells.
:
Throws:
Throws:
Creates a copy of this cell.
Returns a value indicating the current state of the cell as inherited from the state of its row or column.
Throws:
Wisej.Web.DataGridViewLinkCell
Wisej.Web.DataGridViewElement
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides the base class for elements of a control.
Initializes a new instance of .
: Returns the control associated with this element.
: Returns the user interface (UI) state of the element.
Wisej.Web.DataGridViewLinkColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.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.
Name | Type | Description |
---|
Throws:
This value is inherited by all the cells in the column that do not specify a value for this property.
This value is inherited by all the cells in the column that do not specify a value for this property.
Throws:
This value is inherited by all the cells in the column that do not specify a value for this property.
Wisej.Web.DataGridViewImageColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.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.
Name | Type | Description |
---|
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.
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:
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:
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:
Wisej.Web.DataGridViewMaskedTextBoxColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a column that contains a collection of cells.
Initializes a new instance of the .
Initializes a new instance of the .
Name | Type | Description |
---|
Throws:
This value is inherited by all the cells in the column that do not specify a value for this property. Throws:
Throws:
includeFilter
excludeFilter
includeFilter
excludeFilter
includeFilter
excludeFilter
includeFilter
excludeFilter
Represents the method that will handle the event of a .
The to remove from the list.
The in effect for the cell.
A for the display value type, or null to use the default converter.
A for the cell value type, or null to use the default converter.
Defines an object that can invoke a .
Represents the method that will handle the event.
The to use as the model for the UI.
Defines common functionality for controls that are hosted within cells of a .
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 controls derived from the class must implement this interface.
Returns or sets a value indicating the position of the cell content within a cell.
Represents the method that will handle the event of a .
The whose state has changed.
One of the values.
The column index of the cell that raised the .
The row index of the cell that raised the .
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
: 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.
Name | Description |
---|
: Returns a value indicating whether the cell is frozen.
: Returns a value indicating whether the header cell is read-only.
An operation tries to set this property.
: Returns a value indicating whether the cell is resizable.
: Returns or sets whether the cell is selected.
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.
Returns: . The cloned .
Parameter | Type | Description |
---|
Returns: . A combination of values representing the current state of the cell.
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.
Name | Description |
---|
Name | Description |
---|
: 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. (Default: False
)
: Returns or sets the data type of the values in the cell.
Name | Description |
---|
Releases all resources used by the .
Name | Description |
---|
: Returns or sets the template used to model cell appearance.
The type is null.
The set type is not compatible with type .
: Returns or sets a value that represents the behavior of the link cell. (Default: SystemDefault
)
: Returns or sets the color used when displaying a normal link. (Default: Color [Empty]
)
: Gets or sets the default text displayed on the button cell when UseColumnTextForButtonValue is true. (Default: null
)
When setting this property, the value of the property is null.
: 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. (Default: False
)
Name | Description |
---|
: Gets or sets the image displayed in the cells that have a null value. (Default: null
)
: Gets or sets the image alignment in the cells for the column. (Default: NotSet
)
The value of the property is null.
: Gets or sets the image layout in the cells for this column. (Default: NotSet
)
The value of the property is null.
: Gets or sets the image URL or name displayed in cells that have a null value. (Default: null
)
: Returns or sets the template used to model cell appearance.
The type is null.
The set type is not compatible with type .
Name | Description |
---|
: Returns or sets the template used to model cell appearance.
The type is null.
The set type is not compatible with type .
: Returns or sets the culture information associated with the masked cell.
: Returns or sets the input mask. (Default: ""
)
The is a string that defines the masking characters and the literals to display and process during user input and when reading the property. Server side masking is processed by an instance of the class exposed by the 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 |
---|
If you change the 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 them to display symbols for another culture by using the property. Otherwise you can set the application-wide culture by setting the property.
: Returns or sets the maximum number of characters that can be entered into the text box. (Default: 0
)
The value of the property is null.
: Returns or sets the character used to represent the absence of user input in the cell's . (Default: _
)
The character specified when setting this property is not a valid prompt character, as determined by the method of the class.
The prompt character specified is the same as the current password character, . The two are required to be different.
: Returns or sets whether the empty mask is shown in the cell when the value is null or empty. (Default: True
)
: Returns or sets a value that determines whether literals and prompt characters are included in the formatted string. (Default: IncludeLiterals
)
: Returns the instance of associated with this control.
Name | Description |
---|
Defines an object that can invoke a Command.
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.
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.
Controls that support drag & drop operations 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.
Provides access to the validation events and properties property for controls that support validation.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
Represents the method that will handle the DataUpdated event of a DataGridView.
All wisej components implement this interface.
Allows an object to serialize itself.
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. |
\ | 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. |
Displayed | The element is currently displayed. |
Frozen | The element belongs to a frozen (fixed) band. |
None | Default state. |
ReadOnly | The element will not accept user input to change its value. |
Resizable |
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 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 number of rows that match the includeFilter . |
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. |
rowIndex |
Contains functionality common to row header cells and column header cells. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
Represents the method that will handle the EditingControlShowing event of a DataGridView.
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.
cellTemplate
An existing DataGridViewDateTimePickerCell to use as a template.
sender | The source of the event. |
e | A that contains the event data. |
Fired when a control for editing a cell is showing. |
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 method is called. |
Returns or sets a value indicating how to begin editing a cell. |
cellTemplate |
BestFit | The image is scaled to the largest size such that both its width and its height can fit inside the content area. |
Center | The image is centered within the cell's client rectangle. |
None | The image is left-aligned at the top across the cell's client rectangle. |
NotSet | The layout specification has not been set. |
OriginalSize | The image left-aligned at the top and sized using the image original size. |
Stretch | 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. |
Gets or sets the layout of the image in the cell. |
Gets or sets the image layout in the cells for this column. |
cellTemplate |
cellTemplate |
Wisej.Web.DataGridViewMaskedTextBoxCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Displays an editable MaskedTextBox control in a DataGridViewCell cell when in edit mode.
CultureInfo: 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. (Default: ""
)
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.
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. (Default: 0
)
Throws:
ArgumentOutOfRangeException The value is less than 0.
Char: Returns or sets the character used to represent the absence of user input in MaskedTextBox. (Default: _
)
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. (Default: IncludeLiterals
)
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.
Throws:
ArgumentNullException editor is null.
Indicates whether the cell data should be updated on the client even if the user didn't change the value when editing.
Returns: Boolean.
Wisej.Web.DataGridViewRowCancelEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for the UserDeletingRow event of a DataGridView.
Initializes a new instance of the DataGridViewRowCancelEventArgs class.
Name | Type | Description |
---|---|---|
Throws:
ArgumentNullException dataGrid is null.
ArgumentOutOfRangeException rowIndex is -1 or greater than the number of rows.
Initializes a new instance of the DataGridViewRowCancelEventArgs class.
Name | Type | Description |
---|---|---|
Throws:
ArgumentNullException row is null.
DataGridViewRow: Returns the DataGridViewRow that the user is deleting.
Int32: Returns the index of the DataGridViewRow that the user is deleting.
Wisej.Web.DataGridViewNumericUpDownCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Displays an editable NumericUpDown control in a DataGridViewCell cell when in edit mode.
Int32: Returns or sets the number of decimal places to display in the spin column (also known as an up-down column).
Throws:
ArgumentOutOfRangeException The value assigned is less than 0; or the value assigned is greater than 99.
Type: Returns the type of the cell's hosted editing control.
Boolean: Returns or sets the visibility of the spinner buttons.
Decimal: 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:
ArgumentOutOfRangeException The assigned value is not greater than or equal to zero.
Decimal: Returns or sets the maximum value for the spin column (also known as an up-down column).
Decimal: Returns or sets the minimum allowed value for the spin column (also known as an up-down column).
Boolean: Returns or sets whether a thousands separator is displayed in the spin column (also known as an up-down column) when appropriate.
Type: Returns or sets the data type of the values in the cell.
Wisej.Web.DataGridViewNumericUpDownColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a DataGridView column that contains a collection of DataGridViewNumericUpDownCell cells.
Initializes a new instance of the DataGridViewNumericUpDownColumn class to the default state.
Initializes a new instance of the DataGridViewNumericUpDownColumn class to the default state.
Name | Type | Description |
---|---|---|
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 DataGridViewNumericUpDownCell.
Int32: Returns or sets the number of decimal places to display in the spin column (also known as an up-down column). (Default: 0
)
Throws:
ArgumentOutOfRangeException The value assigned is less than 0; or the value assigned is greater than 99.
Boolean: Returns or sets the visibility of the spinner buttons. (Default: False
)
Decimal: 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. (Default: 1
)
Throws:
ArgumentOutOfRangeException The assigned value is not greater than or equal to zero.
Decimal: Returns or sets the maximum value for the spin column (also known as an up-down column). (Default: 100
)
Decimal: Returns or sets the minimum allowed value for the spin column (also known as an up-down column). (Default: 0
)
Boolean: Returns or sets whether a thousands separator is displayed in the spin column (also known as an up-down column) when appropriate. (Default: False
)
Wisej.Web.DataGridViewMaskedTextBoxEditingControl
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a MaskedTextBox control that can be hosted in a DataGridViewMaskedTextBoxCell cell.
DataGridView: Returns or sets the DataGridView that contains the text box control.
Int32: 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: String. The formatted version of the cell's value.
Prepares the currently selected cell for editing.
Wisej.Web.DataGridViewRow
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a row in a DataGridView control.
Initializes a new instance of the DataGridViewRow class.
Initializes a new instance of the DataGridViewRow class bound to a DataGridView. This constructor is used to create the RowTemplate object at design time.
Name | Type | Description |
---|---|---|
Int32: Returns the number of cells in the cell collection without forcing the creation of the collection.
DataGridViewCellCollection: Returns the collection of cells that populate the row.
DataGridViewChildRowCollection: Returns the collection of child rows.
ContextMenu: Returns or sets the context menu for the row. (Default: null
)
Object: Returns the data-bound object that populated the row.
DataGridViewCellStyle: Returns or sets the default styles for the row, which are used to render cells in the row unless the styles are overridden.
Boolean: Returns a value indicating whether this row is displayed on the screen.
String: Returns or sets the error message text for row-level errors. (Default: ""
)
Boolean: Returns or sets whether a row will move when a user scrolls the DataGridView control vertically. (Default: False
)
DataGridViewRowHeaderCell: Returns or sets the row's header cell.
Int32: Returns or sets the current height of the row.
Boolean: Returns whether the row is a child row.
Boolean: Returns or sets whether the parent row is expanded.
Boolean: Returns a value indicating whether the row is the row for new records.
Boolean: Returns or sets whether the row is a parent row and can be expanded.
Setting this property to true when the row doesn't have any children, will cause the row to expand anyway and request the child rows from the server.
Boolean: Returns true when the implementation class is DataGridViewRow.
DataGridViewCell: Returns or sets the cell at the provided index location.
Throws:
InvalidOperationException The specified cell when setting this property already belongs to a DataGridView control, or the specified cell when setting this property already belongs to a DataGridViewRow
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.
DataGridViewCell: Returns or sets the cell at the provided index location.
Throws:
ArgumentNullException The specified value when setting this property is null.
InvalidOperationException The specified cell when setting this property already belongs to a DataGridView control, or the specified cell when setting this property already belongs to a DataGridViewRow.
ArgumentOutOfRangeException index is less than 0 or index is equal to or greater than the number of cells in the collection.
DataGridViewCell: Returns or sets the cell in the column with the provided name.
Throws:
ArgumentException columnName does not match the name of any columns in the control.
ArgumentNullException The specified value when setting this property is null.
InvalidOperationException The specified cell when setting this property already belongs to a DataGridView control, or the specified cell when setting this property already belongs to a DataGridViewRow.
Int32: Returns the child nesting level of this row.
Int32: Returns or sets the maximum height of the row.
Throws:
ArgumentOutOfRangeException The specified value when setting this property is less than 0 or greater than 32000.
Int32: Returns or sets the minimum height of the row.
Throws:
ArgumentOutOfRangeException The specified value when setting this property is less than 2 or greater than 32000.
DataGridViewRow: Returns or sets the parent row.
When a row has a parent row, it is displayed as child row in a tree-like structure. To enumerate all the child rows use the Rows property. When changing the parent row, Wisej tries to enforce the correct sequence of rows in the structure like this:
The preceding rows with null parent will also become child rows using the same parent.
If the parent being assigned is not a direct ancestor, it will throw an exception.
When setting the parent to null, all the following rows that are not descendants will also lose their parent.
When adding or inserting a row, the new row will receive the same parent as the row at the location it is being inserted at. Throws:
ArgumentException When the parent is not a valid ancestor and it would cause break in the tree sequence.
Boolean: Returns or sets whether the row is read-only. (Default: False
)
DataGridViewTriState: Returns or sets whether users can resize the row or indicating that the behavior is inherited from the AllowUserToResizeRows property.
DataGridViewRow: Returns the parent top-level parent row.
Boolean: Returns or sets whether the row is selected.
Boolean: Returns or sets whether the row is visible. (Default: True
)
Creates a copy of this row.
Returns: Object. The cloned DataGridViewRow.
Collapse the row and hides all the child rows.
Collapse the row and all the child rows.
Checks whether the specified row is a child of this row, or a child of a child of this row.
Returns: Boolean. True if the specified row is a child of this row, or a child of a child of this row.
Expands the row and shows all the child rows.
Expands the row and all the child rows, showing all the child rows at all levels.
Resets the row height.
Sets the values of the row's cells.
Returns: Boolean. True if at least one of the values has been set; otherwise, false.
Throws:
ArgumentNullException values is null.
InvalidOperationException This method is called when the associated DataGridView is operating in virtual mode.
Updates the cell on the client.
Wisej.Web.DataGridViewNumericUpDownEditingControl
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents a NumericUpDown control that can be hosted in a DataGridViewNumericUpDownCell.
DataGridView: 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.
Retrieves the formatted value of the cell.
Returns: String. An String that represents the formatted version of the cell contents.
Prepares the edit control for editing.
Wisej.Web.DataGridViewRowErrorTextNeededEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Represents the method that will handle the RowErrorTextNeeded event of a DataGridView.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.DataGridViewRowEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Provides data for row-related events.
Initializes a new instance of the class.
Name | Type | Description |
---|
Throws:
dataGrid is null.
rowIndex is -1 or greater than the number of rows.
Initializes a new instance of the class.
Name | Type | Description |
---|
Throws:
Wisej.Web.DataGridViewRowErrorTextNeededEventArgs
Wisej.Web.DataGridViewRowCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
A collection of objects.
Initializes a new instance of the class for the given .
Name | Type | Description |
---|
: Returns the number of rows in the collection.
: Returns the at the specified index.
Throws:
Throws:
Throws:
Throws:
Adds the specified number of new rows to the collection.
Throws:
Adds the specified number of rows to the collection based on the row at the specified index.
Throws:
Throws:
Throws:
Clears the collection.
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Returns the number of rows that match the includeFilter .
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Inserts the specified number of rows into the collection at the specified location.
Throws:
Inserts rows into the collection at the specified position.
Throws:
Throws:
Throws:
Removes the row from the collection.
Throws:
Throws:
The element can be resized. This value is ignored except when combined with the value.
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 .
Returns the last prior to the given column in display order that matches the includeFilter and excludeFilter .
Returns the cumulative height of the objects that match the includeFilter .
Returns the index of the first that matches the specified includeFilter and excludeFilter .
Returns the first that matches the specified includeFilter and excludeFilter .
Returns the index of the last that matches the includeFilter and excludeFilter .
Returns the last that matches the includeFilter and excludeFilter .
Returns the index of the next after startRow that matches the includeFilter and excludeFilter .
Returns the next after startRow that matches the includeFilter and excludeFilter .
Returns the index of the previous before startRow that matches the includeFilter and excludeFilter .
Returns the previous before startRow that matches the includeFilter and excludeFilter .
Returns the state of the at the specified index.
Returns the state of the at the specified index.
Defines an object that can invoke a .
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 control.
Represents a column header in a control.
Represents a row header of a control.
Defines an object that can invoke a .
Defines an object that can invoke a .
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.
Displays an editable control in a cell when in edit mode.
Represents a column that contains a collection of cells.
Displays an editable control in a cell when in edit mode.
Represents a column that contains a collection of cells.
Displays an image in a cell.
Represents a column that contains a collection of cells.
Displays a link widget in a cell.
Represents a column that contains a collection of cells.
Displays an editable control in a cell when in edit mode.
Represents a column that contains a collection of cells.
Displays an editable control in a cell when in edit mode.
Represents a column that contains a collection of cells.
Displays an editable control in a cell when in edit mode.
Represents a column that contains a collection of cells.
Represents a linear collection of elements in a control.
Represents an individual cell in a control.
Represents a column header in a control.
Represents a row in a control.
Represents a row header of a control.
Represents a summary row in a control.
An existing to use as a template.
An existing to use as a template.
An existing to use as a template.
Masking Character | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
row is null.
: Returns the associated with the event.
: Returns a value indicating the row index of the cell that the event occurs for.
Name | Description |
---|
index is less than 0.- or - index is equal to or greater than .
Adds a new to the collection.
Returns: . The index of the new .
The row returned by the property has more cells than there are columns in the control.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns.
Adds a new to the collection, and populates the cells with the specified objects.
Parameter | Type | Description |
---|
Returns: . The index of the new .
values is null.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns. Or the property of the is set to true. Or the row returned by the property has more cells than there are columns in the control.
Adds the specified to the collection.
Parameter | Type | Description |
---|
Returns: . The index of the new .
row is null.
row has more cells than there are columns in the control.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns.
Parameter | Type | Description |
---|
Returns: . The index of the last row that was added.
count is less than 1.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns.
Parameter | Type | Description |
---|
Returns: . The index of the last row that was added.
rowIndex is less than zero or greater than or equal to the number of rows in the control; or count is less than zero.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null.
Adds a row based on the at the specified index.
Parameter | Type | Description |
---|
Returns: . The index of the new .
rowIndex is less than zero or greater than or equal to the number of rows in the collection.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null.
Adds the specified objects to the collection.
Parameter | Type | Description |
---|
newRows is null.
newRows contains only one row, and the row it contains has more cells than there are columns in the control.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null.
The collection is data bound and the underlying data source does not support clearing the row data. Or the associated control is performing one of the following actions that temporarily prevents the row collection from being modified: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - -
Determines whether the specified is in the collection.
Parameter | Type | Description |
---|
Returns: . true if the is in the ; otherwise, false.
Copies the items from the collection into the specified array, starting at the specified index.
Parameter | Type | Description |
---|
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 first that matches the specified includeFilter and excludeFilter .
Parameter | Type | Description |
---|
Returns: . The first that matches the specified filters; or null if no row is found.
One or both of the specified filter values is not a valid combination of values.
Returns the index of the first that matches the specified includeFilter and excludeFilter .
Parameter | Type | Description |
---|
Returns: . The index of the first that matches the specified filters; or -1 if no row is found.
One or both of the specified filter values is not a valid combination of values.
Returns the last that matches the includeFilter and excludeFilter .
Parameter | Type | Description |
---|
Returns: . The last that matches the specified filter; or null if no row is found.
includeFilter is not a valid bitwise combination of values.
Returns the index of the last that matches the includeFilter and excludeFilter .
Parameter | Type | Description |
---|
Returns: . The index of the last that matches the specified filter; or -1 if no row is found.
includeFilter is not a valid bitwise combination of values.
Returns the next after startRow that matches the includeFilter and excludeFilter .
Parameter | Type | Description |
---|
Returns: . The next that matches the filters; or null if no row is found after startRow .
startRow is null.
One or both of the specified filter values is not a valid bitwise combination of values.
Returns the next after startIndex that matches the includeFilter and excludeFilter .
Parameter | Type | Description |
---|
Returns: . The next that matches the filters; or null if no row is found after startIndex .
startIndex is less than -1.
One or both of the specified filter values is not a valid bitwise combination of values.
Returns the index of the next after startRow that matches the includeFilter and excludeFilter .
Parameter | Type | Description |
---|
Returns: . The index of the next that matches the filters; or -1 if no row is found after startRow .
startRow is null.
One or both of the specified filter values is not a valid bitwise combination of values.
Returns the index of the next after startIndex that matches the includeFilter and excludeFilter .
Parameter | Type | Description |
---|
Returns: . The index of the next that matches the filters; or -1 if no row is found after startIndex .
startIndex is less than -1.
One or both of the specified filter values is not a valid bitwise combination of values.
Returns the previous before startRow that matches the includeFilter and excludeFilter .
Parameter | Type | Description |
---|
Returns: . The previous that matches the filters; or null if no row is found before startRow .
startRow is null.
One or both of the specified filter values is not a valid bitwise combination of values.
Returns the previous before startIndex that matches the includeFilter and excludeFilter .
Parameter | Type | Description |
---|
Returns: . The previous that matches the filters; or null if no row is found before startIndex .
startIndex is greater than the number of rows in the collection.
One or both of the specified filter values is not a valid bitwise combination of values.
Returns the index of the previous before startRow that matches the includeFilter and excludeFilter .
Parameter | Type | Description |
---|
Returns: . The index of previous that matches the filters; or -1 if no row is found before startRow .
startRow is null.
One or both of the specified filter values is not a valid bitwise combination of values.
Returns the index of the previous before startIndex that matches the includeFilter and excludeFilter .
Parameter | Type | Description |
---|
Returns: . The index of the previous that matches the filters; or -1 if no row is found before startIndex .
startIndex is greater than the number of rows in the collection.
One or both of the specified filter values is not a valid bitwise combination of values.
Parameter | Type | Description |
---|
Returns: . The number of rows that match the includeFilter .
includeFilter is not a valid bitwise combination of values.
Returns the cumulative height of the objects that match the includeFilter .
Parameter | Type | Description |
---|
Returns: . The cumulative height of objects that match the includeFilter .
includeFilter is not a valid bitwise combination of values.
Returns the state of the at the specified index.
Parameter | Type | Description |
---|
Returns: . A combination of values indicating the state of the row.
rowIndex is less than zero and greater than the number of rows in the collection.
Returns the index of the given in the collection.
Parameter | Type | Description |
---|
Returns: . The index of the given .
Inserts a into the collection at the specified position.
Parameter | Type | Description |
---|
index is less than zero or greater than the number of rows in the collection.
The row returned by the control's property has more cells than there are columns in the control.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns. Or the property of the is set to true. Or the row returned by the property has more cells than there are columns in the control.
Inserts a into the collection at the specified position, and populates the cells with the specified objects.
Parameter | Type | Description |
---|
index is less than zero or greater than the number of rows in the collection.
values is null.
The row returned by the control's property has more cells than there are columns in the control.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns. Or the property of the is set to true. Or the row returned by the property has more cells than there are columns in the control.
Inserts the specified into the collection.
Parameter | Type | Description |
---|
index is less than zero or greater than the number of rows in the collection.
row is null.
row has more cells than there are columns in the control.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns.
Parameter | Type | Description |
---|
index is less than zero or greater than the number of rows in the collection. or count is less than 1.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns.
Parameter | Type | Description |
---|
indexSource is less than zero or greater than the number of rows in the collection minus one; or indexDestination is less than zero or greater than the number of rows in the collection; or count is less than 1.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null.
Inserts a new into the collection at the specified indexDestination , based on the at indexSource .
Parameter | Type | Description |
---|
indexSource is less than zero or greater than the number of rows in the collection minus one; or indexDestination is less than zero or greater than the number of rows in the collection.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null.
Inserts the objects into the collection at the specified position.
Parameter | Type | Description |
---|
newRows is null.
index is less than zero or greater than the number of rows in the collection.
newRows contains only one row, and the row it contains has more cells than there are columns in the control.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null.
Parameter | Type | Description |
---|
row is null.
row is not contained in this collection; or row is a shared row.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns.
Removes the at the specified position from the collection.
Parameter | Type | Description |
---|
index is less than zero and greater than the number of rows in the collection minus one.
The associated control is performing one of the following actions that temporarily prevents new rows from being added: - Selecting all cells in the control. - Clearing the selection. Or this method is being called from a handler for one of the following events: - - - - - - - - Or the property of the is not null. Or the has no columns.
Fired when the collection changes.
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.
\
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.
editor
The Control that is used to edit the cell.
style
The DataGridViewCellStyle that is in effect for the cell entering edit mode.
Defines an object that can invoke a Command.
Represents the method that will handle the UserDeletingRow event of a DataGridView.
Defines an object that can invoke a Command.
All wisej components 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.
Controls that support drag & drop operations 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.
Provides access to the validation events and properties property for controls that support validation.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
row
The row to find in the child row collections.
values
Represents a summary row in a DataGridView control.
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.
Controls that support drag & drop operations 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 validation events and properties property for controls that support validation.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
sender
The source of the event.
e
A DataGridViewRowErrorTextNeededEventArgs that contains the event data.
Fired when the row's error text is required.
values |
row |
count |
rowIndex | The index of the row on which to base the new rows. |
count |
rowIndex | The index of the row on which to base the new row. |
newRows |
row |
array |
index | The zero-based index in array at which copying begins. |
startRow |
startIndex |
startRow |
startIndex |
startRow |
startIndex |
startRow |
startIndex |
includeFilter |
includeFilter |
rowIndex | The index of the row. |
row |
index |
index |
values |
index | The position at which to insert the row. |
row |
index | The position at which to insert the rows. |
count |
indexSource |
indexDestination | The position at which to insert the rows. |
count |
indexSource |
indexDestination | The position at which to insert the row. |
index | The position at which to insert the rows. |
newRows |
row |
index | The position of the row to remove. |
dataGrid
DataGridView that owns the row.
rowIndex
The index of the DataGridViewRow that the event occurred for.
row
The DataGridViewRow that the event occurred for.
cellTemplate
An existing DataGridViewNumericUpDownCell to use as a template.
dataGridView
dataGrid | DataGridView that owns the row. |
rowIndex |
row |
Represents the method that will handle the event of a . |
dataGrid |
sender | The source of the event. |
e | A that contains the event data. |
Fired when the user deletes a row from the control. |
Represents the method that will handle row-related events of a .
A variable number of objects that populate the cells of the new .
The to add to the .
The number of rows to add to the .
The number of rows to add to the .
An array of objects to be added to the .
The to locate in the .
A array that is the destination of the items copied from the .
includeFilter
A bitwise combination of values.
excludeFilter
A bitwise combination of values.
includeFilter
A bitwise combination of values.
excludeFilter
A bitwise combination of values.
includeFilter
A bitwise combination of values.
excludeFilter
A bitwise combination of values.
includeFilter
A bitwise combination of values.
excludeFilter
A bitwise combination of values.
The row where the method should begin to look for the next .
includeFilter
A bitwise combination of values.
excludeFilter
A bitwise combination of values.
The index of the row where the method should begin to look for the next .
includeFilter
A bitwise combination of values.
excludeFilter
A bitwise combination of values.
The row where the method should begin to look for the next .
includeFilter
A bitwise combination of values.
excludeFilter
A bitwise combination of values.
The index of the row where the method should begin to look for the next .
includeFilter
A bitwise combination of values.
excludeFilter
A bitwise combination of values.
The row where the method should begin to look for the previous .
includeFilter
A bitwise combination of values.
excludeFilter
A bitwise combination of values.
The index of the row where the method should begin to look for the previous .
includeFilter
A bitwise combination of values.
excludeFilter
A bitwise combination of values.
The row where the method should begin to look for the previous .
includeFilter
A bitwise combination of values.
excludeFilter
A bitwise combination of values.
The index of the row where the method should begin to look for the previous .
includeFilter
A bitwise combination of values.
excludeFilter
A bitwise combination of values.
A combination of the values for inclusion.
A bitwise combination of values.
The to return the index of.
The position at which to insert the .
The position at which to insert the .
A variable number of objects that populate the cells of the new .
The to insert into the .
The number of rows to insert into the .
The index of the on which to base the new rows.
The number of objects to add to the .
The index of the on which to base the new .
An array of objects to add to the .
The row to remove from the .
The index of the that the event occurred for.
The that the event occurred for.
The that created this collection.