DataGridViewDateTimePickerColumn
Wisej.Web.DataGridViewDateTimePickerColumn
Last updated
Wisej.Web.DataGridViewDateTimePickerColumn
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.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 |
---|---|---|
cellTemplate | An existing DataGridViewDateTimePickerCell to use as a template. |
DataGridViewCell: Returns or sets the template used to model cell appearance.
Throws:
InvalidOperationException The type is null.
InvalidCastException The set type is not compatible with type DataGridViewDateTimePickerCell.
String: Returns or sets the custom date/time format string.
See Custom Date and Time Format Strings for the supported format definitions.
DataGridViewCellStyle: Returns or sets the column's default cell style.
DateTimePickerFormat: Returns or sets the format of the date/time value displayed in the control.
This value is inherited by all the cells in the column that do not specify a value for this property. Throws:
InvalidOperationException The value of the CellTemplate property is null.
DateTime: Returns or sets the maximum date and time that can be selected in the control.
This value is inherited by all the cells in the column that do not specify a value for this property. Throws:
ArgumentException The value assigned is not less than the MaximumDate value (12/31/9998).
SystemException The value assigned is less than the MinimumDateTime value (01/01/1753).
InvalidOperationException The value of the CellTemplate property is null.
DateTime: Returns or sets the minimum date and time that can be selected in the control.
This value is inherited by all the cells in the column that do not specify a value for this property. Throws:
ArgumentException The value assigned is not less than the MaximumDate value (12/31/9998).
SystemException The value assigned is less than the MinimumDateTime value (01/01/1753).
InvalidOperationException The value of the CellTemplate property is null.
Boolean: Returns or sets a value indicating if a spin button control (up-down control) is displayed and can be used to adjust the date/time value.
This value is inherited by all the cells in the column that do not specify a value for this property. Throws:
InvalidOperationException The value of the CellTemplate property is null.
ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.
Type: Returns or sets the data type of the values in the column's cells.
Name | Description |
---|---|
All wisej components implement this interface. | |
Allows an object to serialize itself. |