Skip to main content
Version: 3.5

DataGridViewDateTimePickerEditingControl

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents a DateTimePicker control that can be hosted in a DataGridViewDateTimePickerCell.

public class DataGridViewDateTimePickerEditingControl : DateTimePicker, IDataGridViewEditingControl

Constructors

Instance memberDataGridViewDateTimePickerEditingControl()

Initializes a new instance of DataGridViewDateTimePickerEditingControl.

Properties

Instance memberDataGridView

DataGridView: Returns or sets the DataGridView that contains the text box control.

Methods

Instance memberApplyCellStyleToEditingControl(style)

Adapts the edit control's properties to be consistent with the specified cell style.

ParameterTypeDescription
styleDataGridViewCellStyleThe DataGridViewCellStyle in effect for the cell entering edit mode.

Instance memberGetEditingControlFormattedValue()

Retrieves the formatted value of the cell.

Returns: String. An String that represents the formatted version of the cell contents.

Instance memberPrepareEditingControlForEdit(selectAll)

Prepares the edit control for editing.

ParameterTypeDescription
selectAllBooleantrue to select the cell contents; otherwise, false.

Implements

NameDescription
IDataGridViewEditingControlDefines common functionality for controls that are hosted within cells of a DataGridView.
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
ILabelProvides access to the LabelWrapper associated with the controls that implement this interface.
IReadOnlyProvides access to the ReadOnly property for coontrols that support the read-only mode.
IModifiedProvides access to the Modified property and ModifiedChanged event for controls that implement this interface.
IValidationProvides access to the validation events and properties property for controls that support validation.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.