DataGridViewDateTimePickerColumn
Wisej.Web.DataGridViewDateTimePickerColumn
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents a DataGridView column that contains a collection of DataGridViewDateTimePickerCell cells.
public class DataGridViewDateTimePickerColumn : DataGridViewColumnConstructors
DataGridViewDateTimePickerColumn()
Initializes a new instance of the DataGridViewDateTimePickerColumn class to the default state.
DataGridViewDateTimePickerColumn(cellTemplate)
Initializes a new instance of the DataGridViewDateTimePickerColumn class to the default state.
cellTemplate
An existing DataGridViewDateTimePickerCell to use as a template.
Properties
CellTemplate
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.
CustomFormat
String: Returns or sets the custom date/time format string.
See Custom Date and Time Format Strings for the supported format definitions.
DefaultCellStyle
DataGridViewCellStyle: Returns or sets the column's default cell style.
Format
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.
MaxDate
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.
MinDate
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.
ShowUpDown
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.
SortMode
DataGridViewColumnSortMode: Returns or sets the sort mode for the column.
Tools
ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.
ValueType
Type: Returns or sets the data type of the values in the column's cells.
Implements
All wisej components implement this interface.
Allows an object to serialize itself.
Last updated
Was this helpful?

