C# 클래스 Habanero.Faces.Win.NumericUpDownEditingControl

A control for editing numeric values
상속: System.Windows.Forms.NumericUpDown, IDataGridViewEditingControl
파일 보기 프로젝트 열기: Chillisoft/habanero.faces 1 사용 예제들

공개 메소드들

메소드 설명
ApplyCellStyleToEditingControl ( System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle ) : void

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

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 editing control

NumericUpDownEditingControl ( ) : System

Constructor to initialise a new editing control with the default numeric format of 2 decimal places.

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

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 editing control
public GetEditingControlFormattedValue ( DataGridViewDataErrorContexts context ) : object
context DataGridViewDataErrorContexts
리턴 object

NumericUpDownEditingControl() 공개 메소드

Constructor to initialise a new editing control with the default numeric format of 2 decimal places.
public NumericUpDownEditingControl ( ) : System
리턴 System

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