DataGridViewDateTimePickerEditingControl
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a DateTimePicker control that can be hosted in a DataGridViewDateTimePickerCell.
- C#
- VB.NET
public class DataGridViewDateTimePickerEditingControl : DateTimePicker, IDataGridViewEditingControl
Public Class DataGridViewDateTimePickerEditingControl
Inherits DateTimePicker
Implements 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 | DataGridViewCellStyle | 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.
PrepareEditingControlForEdit(selectAll)
Prepares the edit control for editing.
| Parameter | Type | Description |
|---|---|---|
| selectAll | Boolean | true to select the cell contents; otherwise, false. |
Implements
| Name | Description |
|---|---|
| IDataGridViewEditingControl | Defines common functionality for controls that are hosted within cells of a DataGridView. |
| IBindableComponent | Bindable components implement this interface. |
| IDropTarget | Controls that support drag & drop operations implement this interface. |
| ILabel | Provides access to the LabelWrapper associated with the controls that implement this interface. |
| IReadOnly | Provides access to the ReadOnly property for coontrols that support the read-only mode. |
| IModified | Provides access to the Modified property and ModifiedChanged event for controls that implement this interface. |
| IValidation | Provides access to the validation events and properties property for controls that support validation. |
| IWisejComponent | All wisej components implement this interface. |
| IWisejControl | All wisej controls derived from the Control class must implement this interface. |
| IWisejSerializable | Allows an object to serialize itself. |