C# Класс FarsiLibrary.Win.Controls.DataGridViewFADateTimePickerEditor

Наследование: FADatePicker, IDataGridViewEditingControl
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ApplyCellStyleToEditingControl ( System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle ) : void

Changes the control's user interface (UI) to be consistent with the specified cell style.

DataGridViewFADateTimePickerEditor ( ) : System
EditingControlWantsInputKey ( Keys keyData, bool dataGridViewWantsInputKey ) : bool

Determines whether the specified key is a regular input key that the editing control should process or a special key that the should process.

GetEditingControlFormattedValue ( DataGridViewDataErrorContexts context ) : object

Retrieves the formatted value of the cell.

PrepareEditingControlForEdit ( bool selectAll ) : void

Prepares the currently selected cell for editing.

Приватные методы

Метод Описание
NotifyDataGridViewOfValueChange ( ) : void

Small utility function that updates the local dirty state and notifies the grid of the value change.

OnInternalSelectedDateTimeChanged ( object sender, EventArgs e ) : void

Описание методов

ApplyCellStyleToEditingControl() публичный Метод

Changes the control's user interface (UI) to be consistent with the specified cell style.
public ApplyCellStyleToEditingControl ( System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle ) : void
dataGridViewCellStyle System.Windows.Forms.DataGridViewCellStyle The to use as the model for the UI.
Результат void

DataGridViewFADateTimePickerEditor() публичный Метод

public DataGridViewFADateTimePickerEditor ( ) : System
Результат System

EditingControlWantsInputKey() публичный Метод

Determines whether the specified key is a regular input key that the editing control should process or a special key that the should process.
public EditingControlWantsInputKey ( Keys keyData, bool dataGridViewWantsInputKey ) : bool
keyData Keys A that represents the key that was pressed.
dataGridViewWantsInputKey bool true when the wants to process the in keyData; otherwise, false.
Результат bool

GetEditingControlFormattedValue() публичный Метод

Retrieves the formatted value of the cell.
public GetEditingControlFormattedValue ( DataGridViewDataErrorContexts context ) : object
context DataGridViewDataErrorContexts A bitwise combination of values that specifies the context in which the data is needed.
Результат object

PrepareEditingControlForEdit() публичный Метод

Prepares the currently selected cell for editing.
public PrepareEditingControlForEdit ( bool selectAll ) : void
selectAll bool true to select all of the cell's content; otherwise, false.
Результат void