Skip to main content
Version: 4.1

DataGridViewElement

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Provides the base class for elements of a DataGridView control.

public class DataGridViewElement : IDisposable, IHasPropertyStore

Constructors

Instance member DataGridViewElement()

Initializes a new instance of DataGridViewElement.

Properties

Instance member DataGridView

DataGridView: Returns the DataGridView control associated with this element.

Instance member State

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

Methods

Instance member Dispose()

Releases all resources used by the DataGridViewElement.

Protected member Dispose(disposing)

Releases the resources used by the DataGridViewElement.

ParameterTypeDescription
disposingBooleantrue when this method is called by the application rather than a finalizer.

Protected member OnDataGridViewChanged()

Called when the element is associated with a different DataGridView.

Protected member RaiseCellClick(e)

Fires the CellClick event.

ParameterTypeDescription
eDataGridViewCellEventArgsA DataGridViewCellEventArgs that contains the event data.

Protected member RaiseCellValueChanged(e)

Fires the CellValueChanged event.

ParameterTypeDescription
eDataGridViewCellEventArgsA DataGridViewCellEventArgs that contains the event data.

Protected member RaiseDataError(e)

Fires the DataError event.

ParameterTypeDescription
eDataGridViewDataErrorEventArgsA DataGridViewDataErrorEventArgs that contains the event data.

Inherited By

NameDescription
DataGridViewButtonCellDisplays a button widget in a DataGridViewCell cell.
DataGridViewButtonColumnRepresents a DataGridView column that contains a collection of DataGridViewButtonCell cells.
DataGridViewCheckBoxCellDisplays a CheckBox icon (not the actual control) in a DataGridViewCell cell.
DataGridViewCheckBoxColumnRepresents a DataGridView column that contains a collection of DataGridViewCheckBoxCell cells.
DataGridViewColumnRepresents a column in a DataGridView control.
DataGridViewComboBoxCellDisplays an editable ComboBox control in a DataGridViewCell cell when in edit mode.
DataGridViewComboBoxColumnRepresents a DataGridView column that contains a collection of DataGridViewComboBoxCell cells.
DataGridViewDateTimePickerCellDisplays an editable DateTimePicker control in a DataGridViewCell cell when in edit mode.
DataGridViewDateTimePickerColumnRepresents a DataGridView column that contains a collection of DataGridViewDateTimePickerCell cells.
DataGridViewImageCellDisplays an image in a DataGridViewCell cell.
DataGridViewImageColumnRepresents a DataGridView column that contains a collection of DataGridViewImageCell cells.
DataGridViewLinkCellDisplays a link widget in a DataGridViewCell cell.
DataGridViewLinkColumnRepresents a DataGridView column that contains a collection of DataGridViewLinkCell cells.
DataGridViewMaskedTextBoxCellDisplays an editable MaskedTextBox control in a DataGridViewCell cell when in edit mode.
DataGridViewMaskedTextBoxColumnRepresents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.
DataGridViewNumericUpDownCellDisplays an editable NumericUpDown control in a DataGridViewCell cell when in edit mode.
DataGridViewNumericUpDownColumnRepresents a DataGridView column that contains a collection of DataGridViewNumericUpDownCell cells.
DataGridViewTextBoxCellDisplays an editable TextBox control in a DataGridViewCell cell when in edit mode.
DataGridViewTextBoxColumnRepresents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.
DataGridViewBandRepresents a linear collection of elements in a DataGridView control.
DataGridViewCellRepresents an individual cell in a DataGridView control.
DataGridViewColumnHeaderCellRepresents a column header in a DataGridView control.
DataGridViewHeaderCellContains functionality common to row header cells and column header cells.
DataGridViewRowRepresents a row in a DataGridView control.
DataGridViewRowHeaderCellRepresents a row header of a DataGridView control.
DataGridViewSummaryRowRepresents a summary row in a DataGridView control.