C# Класс SourceGrid.Cells.Editors.TextBox

Наследование: SourceGrid.Cells.Editors.EditorControlBase
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetEditedValue ( ) : object

Returns the value inserted with the current editor control

SetEditValue ( object editValue ) : void

Set the specified value in the current editor control.

TextBox ( Type p_Type ) : System

Construct a Model. Based on the Type specified the constructor populate AllowNull, DefaultValue, TypeConverter, StandardValues, StandardValueExclusive

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

Метод Описание
CreateControl ( ) : Control

Create the editor control

OnSendCharToEditor ( char key ) : void
OnStartingEdit ( CellContext cellContext, Control editorControl ) : void

This method is called just before the edit start. You can use this method to customize the editor with the cell informations.

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

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

Create the editor control
protected CreateControl ( ) : Control
Результат System.Windows.Forms.Control

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

Returns the value inserted with the current editor control
public GetEditedValue ( ) : object
Результат object

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

protected OnSendCharToEditor ( char key ) : void
key char
Результат void

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

This method is called just before the edit start. You can use this method to customize the editor with the cell informations.
protected OnStartingEdit ( CellContext cellContext, Control editorControl ) : void
cellContext CellContext
editorControl System.Windows.Forms.Control
Результат void

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

Set the specified value in the current editor control.
public SetEditValue ( object editValue ) : void
editValue object
Результат void

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

Construct a Model. Based on the Type specified the constructor populate AllowNull, DefaultValue, TypeConverter, StandardValues, StandardValueExclusive
public TextBox ( Type p_Type ) : System
p_Type System.Type The type of this model
Результат System