Wisej.Web.DataGridViewCheckBoxCell
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Displays a CheckBox icon (not the actual control) in a DataGridViewCell cell.
Initializes a new instance of DataGridViewCheckBoxCell.
Object: Gets or sets the value that corresponds to false, which appears as an unchecked box. (Default: null
)
Type: Returns the type of the formatted value associated with the cell.
Object: Gets or sets the value that corresponds to indeterminate, which appears as an indeterminate box. (Default: null
)
Boolean: Returns or sets a value indicating if the checkbox cell supports three states. (Default: False
)
Object: Gets or sets the value that corresponds to true, which appears as checked box. (Default: null
)
Type: Returns or sets the data type of the values in the cell.
Returns the data value of the cell. This is the value that is returned to the client in the data response stream.
The cell style in effect for the current cell, used to format the cell's value for the client rendering.
includeVisualProperties
true to include inherited visual properties; otherwise, false to include only formatting properties.
Returns: Object.
Returns the value of the cell formatted for the client.
value
The value to be formatted.
valueTypeConverter
formattedTypeConverter
Returns: Object. The value of the cell or null if the cell does not belong to a DataGridView control.
Throws:
Exception Formatting failed and there is no handler for the DataError event of the DataGridView or the handler set the ThrowException property to true.
Raised when the user clicks on a cell. The DataGridCheckBoxCell class processes this event to determine the location of click and toggles the checkbox accordingly.
e
Raised when the user presses a key on the keyboard while the focus is on the table and not in edit mode.
e
Converts a value to the actual cell value.
value
The display value of the cell.
cellStyle
formattedTypeConverter
valueTypeConverter
Returns: Object. The cell value.
Throws:
ArgumentNullException cellStyle is null.
FormatException The FormattedValueType property value is null or the ValueType property value is null or value cannot be converted.
ArgumentException value is null or the type of value does not match the type indicated by the FormattedValueType property.
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
cellStyle
cellStyle
The in for the cell.
A providing custom conversion from the formatted type to the value type, or null if no custom conversion is required.
A providing custom conversion from the value type to the formatted type, or null if no custom conversion is required.
A that contains the event data.
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 .