C# 클래스 SourceGrid.Cells.Editors.ComboBox

상속: SourceGrid.Cells.Editors.EditorControlBase
파일 보기 프로젝트 열기: zhuangyy/Motion 1 사용 예제들

공개 메소드들

메소드 설명
ComboBox ( Type p_Type ) : System

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

ComboBox ( Type p_Type, ICollection p_StandardValues, bool p_StandardValueExclusive ) : System

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

GetEditedValue ( ) : object

Returns the value inserted with the current editor control

SetEditValue ( object editValue ) : void

Set the specified value in the current editor control.

보호된 메소드들

메소드 설명
CreateControl ( ) : Control

Create the editor control

OnSendCharToEditor ( char key ) : void

메소드 상세

ComboBox() 공개 메소드

Construct a Model. Based on the Type specified the constructor populate AllowNull, DefaultValue, TypeConverter, StandardValues, StandardValueExclusive
public ComboBox ( Type p_Type ) : System
p_Type System.Type The type of this model
리턴 System

ComboBox() 공개 메소드

Construct a Model. Based on the Type specified the constructor populate AllowNull, DefaultValue, TypeConverter, StandardValues, StandardValueExclusive
public ComboBox ( Type p_Type, ICollection p_StandardValues, bool p_StandardValueExclusive ) : System
p_Type System.Type The type of this model
p_StandardValues ICollection
p_StandardValueExclusive bool True to not allow custom value, only the values specified in the standardvalues collection are allowed.
리턴 System

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

SetEditValue() 공개 메소드

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