DataGridViewDateTimePickerEditingControl

Wisej.Web.DataGridViewDateTimePickerEditingControl

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

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

public class DataGridViewDateTimePickerEditingControl : DateTimePicker, IDataGridViewEditingControl

Constructors

DataGridViewDateTimePickerEditingControl()

Initializes a new instance of DataGridViewDateTimePickerEditingControl.

Properties

DataGridView

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

Methods

ApplyCellStyleToEditingControl(style)

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

Parameter
Type
Description

style

The DataGridViewCellStyle in effect for the cell entering edit mode.

GetEditingControlFormattedValue()

Retrieves the formatted value of the cell.

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

OnValueChanged(e)

Parameter
Type
Description

PrepareEditingControlForEdit(selectAll)

Prepares the edit control for editing.

Parameter
Type
Description

selectAll

true to select the cell contents; otherwise, false.

Implements

Name
Description

Defines common functionality for controls that are hosted within cells of a DataGridView.

Provides access to the UserData and Tag properties associated to the component implementing this interface.

Bindable components implement this interface.

Controls that support drag & drop operations implement this interface.

Provides access to the LabelWrapper associated with the controls that implement this interface.

Provides access to the ReadOnly property for coontrols that support the read-only mode.

Provides access to the Modified property and ModifiedChanged event for controls that implement this interface.

Provides access to the validation events and properties property for controls that support validation.

All wisej components implement this interface.

All wisej controls derived from the Control class must implement this interface.

Allows an object to serialize itself.

Last updated

Was this helpful?