C# Класс Habanero.Faces.Win.CalendarEditingControl

A control for editing date and time values
Наследование: System.Windows.Forms.DateTimePicker, IDataGridViewEditingControl
Показать файл Открыть проект Примеры использования класса

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

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

Copy the styles from the object provided across to this editing control

CalendarEditingControl ( ) : System

Constructor to initialise a new editing control with the short date format

EditingControlWantsInputKey ( Keys key, bool dataGridViewWantsInputKey ) : bool

Indicates if the editing control wants the input key specified

GetEditingControlFormattedValue ( DataGridViewDataErrorContexts context ) : object

Returns the value being held in the control

PrepareEditingControlForEdit ( bool selectAll ) : void

Prepares the editing control for editing

Защищенные методы

Метод Описание
OnValueChanged ( EventArgs eventargs ) : void

A handler to carry out repercussions of a changed value

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

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

Copy the styles from the object provided across to this editing control
public ApplyCellStyleToEditingControl ( System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle ) : void
dataGridViewCellStyle System.Windows.Forms.DataGridViewCellStyle The source to copy from
Результат void

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

Constructor to initialise a new editing control with the short date format
public CalendarEditingControl ( ) : System
Результат System

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

Indicates if the editing control wants the input key specified
public EditingControlWantsInputKey ( Keys key, bool dataGridViewWantsInputKey ) : bool
key Keys The key in question
dataGridViewWantsInputKey bool Whether the DataGridView /// wants the input key
Результат bool

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

Returns the value being held in the control
public GetEditingControlFormattedValue ( DataGridViewDataErrorContexts context ) : object
context DataGridViewDataErrorContexts
Результат object

OnValueChanged() защищенный Метод

A handler to carry out repercussions of a changed value
protected OnValueChanged ( EventArgs eventargs ) : void
eventargs System.EventArgs Arguments relating to the event
Результат void

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

Prepares the editing control for editing
public PrepareEditingControlForEdit ( bool selectAll ) : void
selectAll bool Whether to select all the content first, /// which can make it easier to replace as you type
Результат void