Skip to main content
Version: 4.1

DataGridViewDateTimePickerColumn

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents a DataGridView column that contains a collection of DataGridViewDateTimePickerCell cells.

public class DataGridViewDateTimePickerColumn : DataGridViewColumn

Constructors

Instance member DataGridViewDateTimePickerColumn()

Initializes a new instance of the DataGridViewDateTimePickerColumn class to the default state.

Instance member DataGridViewDateTimePickerColumn(cellTemplate)

Initializes a new instance of the DataGridViewDateTimePickerColumn class to the default state.

NameTypeDescription
cellTemplateDataGridViewDateTimePickerCellAn existing DataGridViewDateTimePickerCell to use as a template.

Properties

Instance member CellTemplate

DataGridViewCell: Returns or sets the template used to model cell appearance.

Throws:

Instance member CustomFormat

String: Returns or sets the custom date/time format string. (Default: "")

See Custom Date and Time Format Strings for the supported format definitions.

Instance member DefaultCellStyle

DataGridViewCellStyle: Returns or sets the column's default cell style.

Instance member Format

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:

Instance member 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:

Instance member 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:

Instance member 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. (Default: False)

This value is inherited by all the cells in the column that do not specify a value for this property. Throws:

Instance member Tools

ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.

Implements

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
IWisejComponentAll wisej components implement this interface.
IWisejSerializableAllows an object to serialize itself.