C# Class SourceGrid.Cells.Editors.NumericUpDown

Inheritance: SourceGrid.Cells.Editors.EditorControlBase
显示文件 Open project: zhuangyy/Motion

Public Methods

Method Description
GetEditedValue ( ) : object

Returns the value inserted with the current editor control

NumericUpDown ( ) : System

Create a model of type Decimal

NumericUpDown ( Type p_CellType, decimal p_Maximum, decimal p_Minimum, decimal p_Increment ) : System
SetEditValue ( object editValue ) : void

Set the specified value in the current editor control.

Protected Methods

Method Description
CreateControl ( ) : Control

Create the editor control

OnSendCharToEditor ( char key ) : void

Method Details

CreateControl() protected method

Create the editor control
protected CreateControl ( ) : Control
return System.Windows.Forms.Control

GetEditedValue() public method

Returns the value inserted with the current editor control
public GetEditedValue ( ) : object
return object

NumericUpDown() public method

Create a model of type Decimal
public NumericUpDown ( ) : System
return System

NumericUpDown() public method

public NumericUpDown ( Type p_CellType, decimal p_Maximum, decimal p_Minimum, decimal p_Increment ) : System
p_CellType System.Type
p_Maximum decimal
p_Minimum decimal
p_Increment decimal
return System

OnSendCharToEditor() protected method

protected OnSendCharToEditor ( char key ) : void
key char
return void

SetEditValue() public method

Set the specified value in the current editor control.
public SetEditValue ( object editValue ) : void
editValue object
return void