DataGridViewDateTimePickerColumn

Wisej.Web.DataGridViewDateTimePickerColumn

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

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

public class DataGridViewDateTimePickerColumn : DataGridViewColumn

Constructors

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.

Name
Type
Description

cellTemplate

An existing DataGridViewDateTimePickerCell to use as a template.

Properties

CellTemplate

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

Throws:

CustomFormat

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

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. (Default: DateTime)

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

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:

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:

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:

Tools

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

Implements

Name
Description

All wisej components implement this interface.

Allows an object to serialize itself.

Last updated