Wisej.Web.DataGridViewDateTimePickerColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.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 |
---|---|---|
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 MaximumDateTime 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 MaximumDateTime 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.
Name | Description |
---|---|
All wisej components implement this interface.
Allows an object to serialize itself.
cellTemplate
An existing DataGridViewDateTimePickerCell to use as a template.